3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo\Bar; function t() { throw new NAN; } define('Foo\\Bar\\NAN', 'Exception'); t();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AJevs
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   INIT_NS_FCALL_BY_NAME                                    'Foo%5CBar%5Cdefine'
          1        SEND_VAL_EX                                              'Foo%5CBar%5CNAN'
          2        SEND_VAL_EX                                              'Exception'
          3        DO_FCALL                                      0          
   11     4        INIT_NS_FCALL_BY_NAME                                    'Foo%5CBar%5Ct'
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

Function foo%5Cbar%5Ct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/AJevs
function name:  Foo\Bar\t
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   NEW                                              $0      'Foo%5CBar%5CNAN'
          1        DO_FCALL                                      0          
          2      > THROW                                         0          $0
    9     3*     > RETURN                                                   null

End of function foo%5Cbar%5Ct

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.65 ms | 1396 KiB | 16 Q