3v4l.org

run code in 300+ PHP versions simultaneously
<?php register_shutdown_function(function() { vardump(error_get_last()); echo extension_loaded('xdebug') ? 'you had xdebug enabled, consider disabling it!' : ''; }); ini_set('memory_limit', '2M'); str_repeat('a', 999999999);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VPdHv
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'register_shutdown_function'
          1        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FVPdHv%3A3%240'
    6     2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
    8     4        INIT_FCALL                                               'ini_set'
          5        SEND_VAL                                                 'memory_limit'
          6        SEND_VAL                                                 '2M'
          7        DO_ICALL                                                 
   10     8        INIT_FCALL                                               'str_repeat'
          9        SEND_VAL                                                 'a'
         10        SEND_VAL                                                 999999999
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FVPdHv%3A3%240:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VPdHv
function name:  {closure}
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL_BY_NAME                                       'vardump'
          1        INIT_FCALL                                               'error_get_last'
          2        DO_ICALL                                         $0      
          3        SEND_VAR_NO_REF_EX                                       $0
          4        DO_FCALL                                      0          
    5     5        INIT_FCALL                                               'extension_loaded'
          6        SEND_VAL                                                 'xdebug'
          7        DO_ICALL                                         $2      
          8      > JMPZ                                                     $2, ->11
          9    >   QM_ASSIGN                                        ~3      'you+had+xdebug+enabled%2C+consider+disabling+it%21'
         10      > JMP                                                      ->12
         11    >   QM_ASSIGN                                        ~3      ''
         12    >   ECHO                                                     ~3
    6    13      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FVPdHv%3A3%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.17 ms | 1396 KiB | 23 Q