3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo var_dump(implode(',', (array)7)); echo var_dump(implode(',', array(1, 2)));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/l754T
function name:  (null)
number of ops:  18
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'implode'
          2        SEND_VAL                                                 '%2C'
          3        CAST                                          7  ~0      7
          4        SEND_VAL                                                 ~0
          5        DO_ICALL                                         $1      
          6        SEND_VAR                                                 $1
          7        DO_ICALL                                         $2      
          8        ECHO                                                     $2
    4     9        INIT_FCALL                                               'var_dump'
         10        INIT_FCALL                                               'implode'
         11        SEND_VAL                                                 '%2C'
         12        SEND_VAL                                                 <array>
         13        DO_ICALL                                         $3      
         14        SEND_VAR                                                 $3
         15        DO_ICALL                                         $4      
         16        ECHO                                                     $4
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.9 ms | 1398 KiB | 17 Q