3v4l.org

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

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

End of function crash_me

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.99 ms | 1397 KiB | 20 Q