3v4l.org

run code in 300+ PHP versions simultaneously
<?php $range = range(0, 20000); $var = join('', $range); var_dump(strlen($var)); $$var = 4; var_dump($$var);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YhfGd
function name:  (null)
number of ops:  21
compiled vars:  !0 = $range, !1 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 0
          2        SEND_VAL                                                 20000
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    3     5        INIT_FCALL                                               'join'
          6        SEND_VAL                                                 ''
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !1, $4
    4    10        INIT_FCALL                                               'var_dump'
         11        STRLEN                                           ~6      !1
         12        SEND_VAL                                                 ~6
         13        DO_ICALL                                                 
    5    14        FETCH_W                      local               $8      !1
         15        ASSIGN                                                   $8, 4
    6    16        INIT_FCALL                                               'var_dump'
         17        FETCH_R                      local               ~10     !1
         18        SEND_VAL                                                 ~10
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.12 ms | 1395 KiB | 19 Q