3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo; error_reporting(-1); define ('\\true', 10, true); define ('foo\\true', 10, true); var_dump( true, \true );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TgEvX
function name:  (null)
number of ops:  18
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_NS_FCALL_BY_NAME                                    'foo%5Cerror_reporting'
          1        SEND_VAL_EX                                              -1
          2        DO_FCALL                                      0          
    4     3        INIT_NS_FCALL_BY_NAME                                    'foo%5Cdefine'
          4        SEND_VAL_EX                                              '%5Ctrue'
          5        SEND_VAL_EX                                              10
          6        SEND_VAL_EX                                              <true>
          7        DO_FCALL                                      0          
    5     8        INIT_NS_FCALL_BY_NAME                                    'foo%5Cdefine'
          9        SEND_VAL_EX                                              'foo%5Ctrue'
         10        SEND_VAL_EX                                              10
         11        SEND_VAL_EX                                              <true>
         12        DO_FCALL                                      0          
    7    13        INIT_NS_FCALL_BY_NAME                                    'foo%5Cvar_dump'
    8    14        SEND_VAL_EX                                              <true>
    9    15        SEND_VAL_EX                                              <true>
         16        DO_FCALL                                      0          
   10    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
185.17 ms | 1394 KiB | 19 Q