3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.55 ms | 1394 KiB | 21 Q