3v4l.org

run code in 300+ PHP versions simultaneously
<?php $emailid = Array ( "0]" => "<seperator>krishna.j@tamsinfotech.com", "1" => "<seperator>krishna.j@tamsinfotech.com" ); $emailids = implode(",",$emailid); echo $emailids."<br>"; $emailids = ltrim($emailids,"<seperate>"); $emid = explode(",<seperator>",$emailids); print_r($emid);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/K88Fm
function name:  (null)
number of ops:  22
compiled vars:  !0 = $emailid, !1 = $emailids, !2 = $emid
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    9     1        INIT_FCALL                                               'implode'
          2        SEND_VAL                                                 '%2C'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
   10     6        CONCAT                                           ~6      !1, '%3Cbr%3E'
          7        ECHO                                                     ~6
   12     8        INIT_FCALL                                               'ltrim'
          9        SEND_VAR                                                 !1
         10        SEND_VAL                                                 '%3Cseperate%3E'
         11        DO_ICALL                                         $7      
         12        ASSIGN                                                   !1, $7
   14    13        INIT_FCALL                                               'explode'
         14        SEND_VAL                                                 '%2C%3Cseperator%3E'
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                         $9      
         17        ASSIGN                                                   !2, $9
   18    18        INIT_FCALL                                               'print_r'
         19        SEND_VAR                                                 !2
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.49 ms | 1395 KiB | 21 Q