3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s1 = "a"; $s2 = "b"; $s3 = null; echo implode(", ", array($s1, $s2, $s3)); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GIOC0
function name:  (null)
number of ops:  12
compiled vars:  !0 = $s1, !1 = $s2, !2 = $s3
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'a'
    3     1        ASSIGN                                                   !1, 'b'
    4     2        ASSIGN                                                   !2, null
    6     3        INIT_FCALL                                               'implode'
          4        SEND_VAL                                                 '%2C+'
          5        INIT_ARRAY                                       ~6      !0
          6        ADD_ARRAY_ELEMENT                                ~6      !1
          7        ADD_ARRAY_ELEMENT                                ~6      !2
          8        SEND_VAL                                                 ~6
          9        DO_ICALL                                         $7      
         10        ECHO                                                     $7
    7    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.72 ms | 1394 KiB | 15 Q