3v4l.org

run code in 300+ PHP versions simultaneously
<?php //define("true",false); -- notice: Constant already defined ... define("TRUE", false); define("FALSE", true); define("NAME","Zelia"); echo defined("TRUE"),TRUE; echo "\nUDEF TRUE: ",constant("TRUE"); echo "\n",defined("true"),true; echo "\n",defined("false"),false;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ChPnR
function name:  (null)
number of ops:  26
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'TRUE'
          2        SEND_VAL                                                 <false>
          3        DO_ICALL                                                 
    4     4        INIT_FCALL                                               'define'
          5        SEND_VAL                                                 'FALSE'
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                                 
    5     8        INIT_FCALL                                               'define'
          9        SEND_VAL                                                 'NAME'
         10        SEND_VAL                                                 'Zelia'
         11        DO_ICALL                                                 
    6    12        ECHO                                                     <true>
         13        ECHO                                                     <true>
    7    14        ECHO                                                     '%0AUDEF+TRUE%3A+'
         15        INIT_FCALL                                               'constant'
         16        SEND_VAL                                                 'TRUE'
         17        DO_ICALL                                         $3      
         18        ECHO                                                     $3
    8    19        ECHO                                                     '%0A'
         20        ECHO                                                     <true>
         21        ECHO                                                     <true>
    9    22        ECHO                                                     '%0A'
         23        ECHO                                                     <true>
         24        ECHO                                                     <false>
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.52 ms | 1395 KiB | 17 Q