3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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
Jump found. 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                                    
         1        SEND_VAL_EX                                              -1
         2        DO_FCALL                                      0          
   4     3        INIT_NS_FCALL_BY_NAME                                    
         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                                    
         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                                    
   8    14        SEND_VAL_EX                                              <true>
   9    15        SEND_VAL_EX                                              <true>
        16        DO_FCALL                                      0          
        17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0