3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = ' '; print_r($a); $b = (array)' '; $b[10] = ' '; print_r(strlen(implode($b)));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5uDe6
function name:  (null)
number of ops:  16
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '+'
    4     1        INIT_FCALL                                               'print_r'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
    5     4        CAST                                          7  ~4      '+'
          5        ASSIGN                                                   !1, ~4
    6     6        ASSIGN_DIM                                               !1, 10
          7        OP_DATA                                                  '+'
    7     8        INIT_FCALL                                               'print_r'
          9        INIT_FCALL                                               'implode'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $7      
         12        STRLEN                                           ~8      $7
         13        SEND_VAL                                                 ~8
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.2 ms | 1394 KiB | 17 Q