3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('memory_limit', '32M'); $v = str_repeat("A",30000000); $x = array($v); function crash_meh(&$x) { die('failed :('); } crash_meh($v);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fBmaP
function name:  (null)
number of ops:  15
compiled vars:  !0 = $v, !1 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'ini_set'
          1        SEND_VAL                                                 'memory_limit'
          2        SEND_VAL                                                 '32M'
          3        DO_ICALL                                                 
    4     4        INIT_FCALL                                               'str_repeat'
          5        SEND_VAL                                                 'A'
          6        SEND_VAL                                                 30000000
          7        DO_ICALL                                         $3      
          8        ASSIGN                                                   !0, $3
    5     9        INIT_ARRAY                                       ~5      !0
         10        ASSIGN                                                   !1, ~5
   11    11        INIT_FCALL                                               'crash_meh'
         12        SEND_REF                                                 !0
         13        DO_FCALL                                      0          
         14      > RETURN                                                   1

Function crash_meh:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/fBmaP
function name:  crash_meh
number of ops:  3
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
    8     1      > EXIT                                                     'failed+%3A%28'
    9     2*     > RETURN                                                   null

End of function crash_meh

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.34 ms | 1397 KiB | 18 Q