3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo; define('True', false, true); 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/n2Fc3
function name:  (null)
number of ops:  8
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                                              'True'
          2        SEND_VAL_EX                                              <false>
          3        SEND_VAL_EX                                              <true>
          4        DO_FCALL                                      0          
   11     5        INIT_STATIC_METHOD_CALL                                  'foo%5Cfoo', 'test'
          6        DO_FCALL                                      0          
          7      > RETURN                                                   1

Function foo%5Ctest:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/n2Fc3
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:
197.67 ms | 1394 KiB | 17 Q