3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.1 ms | 1385 KiB | 17 Q