3v4l.org

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

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

End of function crash

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.05 ms | 941 KiB | 17 Q