3v4l.org

run code in 500+ PHP versions simultaneously
<?php namespace Foo; set_error_handler(function () { throw new \Exception(); }); call_user_func(function (array &$ref) {}, []);

Abusive script

This script was stopped while abusing our resources

Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9NSkD
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   INIT_NS_FCALL_BY_NAME                                        'Foo%5Cset_error_handler'
          1        DECLARE_LAMBDA_FUNCTION                              ~0      [0]
    6     2        SEND_VAL_EX                                                  ~0
    4     3        DO_FCALL                                          0          
    8     4        INIT_NS_FCALL_BY_NAME                                        'Foo%5Ccall_user_func'
          5        DECLARE_LAMBDA_FUNCTION                              ~2      [1]
          6        SEND_VAL_EX                                                  ~2
          7        SEND_VAL_EX                                                  <array>
          8        DO_FCALL                                          0          
          9      > RETURN                                                       1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/9NSkD
function name:  {closure:/in/9NSkD:4}
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    5     0  E >   NEW                                                  $0      'Exception'
          1        DO_FCALL                                          0          
          2      > THROW                                             0          $0
    6     3*     > RETURN                                                       null

End of Dynamic Function 0

Dynamic Function 1
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9NSkD
function name:  {closure:/in/9NSkD:8}
number of ops:  2
compiled vars:  !0 = $ref
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    8     0  E >   RECV                                                 !0      
          1      > RETURN                                                       null

End of Dynamic Function 1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
174.57 ms | 1217 KiB | 10 Q