3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo\Bar; function t() { throw 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/Ya52d
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/Ya52d
function name:  Foo\Bar\t
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   FETCH_CONSTANT                                   ~0      'Foo%5CBar%5CNAN'
          1      > THROW                                         0          ~0
    9     2*     > RETURN                                                   null

End of function foo%5Cbar%5Ct

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.94 ms | 1401 KiB | 16 Q