3v4l.org

run code in 500+ PHP versions simultaneously
<?php ini_set("memory_limit", "64m"); function test(&$x) { test($x); } $a=array(); test($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PYPvd
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'ini_set'
          1        SEND_VAL                                                     'memory_limit'
          2        SEND_VAL                                                     '64m'
          3        DO_ICALL                                                     
    7     4        ASSIGN                                                       !0, <array>
    8     5        INIT_FCALL                                                   'test'
          6        SEND_REF                                                     !0
          7        DO_FCALL                                          0          
          8      > RETURN                                                       1

Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PYPvd
function name:  test
number of ops:  5
compiled vars:  !0 = $x
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   RECV                                                 !0      
    5     1        INIT_FCALL_BY_NAME                                           'test'
          2        SEND_VAR_EX                                                  !0
          3        DO_FCALL                                          0          
    6     4      > RETURN                                                       null

End of function test

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
174.07 ms | 2171 KiB | 15 Q