3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo; define('\true', false); function test() { var_dump(true); } foo::test();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/np7a0
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_NS_FCALL_BY_NAME                                    'foo%5Cdefine'
          1        SEND_VAL_EX                                              '%5Ctrue'
          2        SEND_VAL_EX                                              <false>
          3        DO_FCALL                                      0          
   11     4        INIT_STATIC_METHOD_CALL                                  'foo%5Cfoo', 'test'
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

Function foo%5Ctest:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/np7a0
function name:  foo\test
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_NS_FCALL_BY_NAME                                    'foo%5Cvar_dump'
          1        SEND_VAL_EX                                              <true>
          2        DO_FCALL                                      0          
    9     3      > RETURN                                                   null

End of function foo%5Ctest

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.1 ms | 1385 KiB | 17 Q