3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = ["4,9", "5,10", "2,1"]; $result = explode(",", implode(",", $array)); Print_r($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JGOAB
function name:  (null)
number of ops:  11
compiled vars:  !0 = $array, !1 = $result
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    5     1        INIT_FCALL                                                   'explode'
          2        SEND_VAL                                                     '%2C'
          3        FRAMELESS_ICALL_2                implode             ~3      '%2C', !0
          4        SEND_VAL                                                     ~3
          5        DO_ICALL                                             $4      
          6        ASSIGN                                                       !1, $4
    7     7        INIT_FCALL                                                   'print_r'
          8        SEND_VAR                                                     !1
          9        DO_ICALL                                                     
         10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
161.32 ms | 2120 KiB | 15 Q