3v4l.org

run code in 300+ PHP versions simultaneously
<?php // This fails attempting to allocate nearly 3GM of RAM ini_set('display_errors', 1); spl_autoload_register(function ($class) { // Doesn't matter what's here, so I've left it empty. }); die('Success!');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/OkC5i
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'ini_set'
          1        SEND_VAL                                                 'display_errors'
          2        SEND_VAL                                                 1
          3        DO_ICALL                                                 
    4     4        INIT_FCALL                                               'spl_autoload_register'
          5        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FOkC5i%3A4%240'
    6     6        SEND_VAL                                                 ~1
          7        DO_ICALL                                                 
    8     8      > EXIT                                                     'Success%21'
          9*     > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FOkC5i%3A4%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OkC5i
function name:  {closure}
number of ops:  2
compiled vars:  !0 = $class
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    6     1      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FOkC5i%3A4%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.54 ms | 1394 KiB | 17 Q