3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(TRUE,FALSE,NULL); // they have data types and what has data types? variables and constants but keywords are all text function true(){ return 'The truth ...'; } function false(){ return 'Do not be false...'; } function null(){ return 't\'is nothing at all...'; } echo true(); echo false(); echo null(); // if TRUE, FALSE and NULL are keywords then these functions will not execute.
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/V3H2n
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        SEND_VAL                                                 <true>
          2        SEND_VAL                                                 <false>
          3        SEND_VAL                                                 null
          4        DO_ICALL                                                 
   12     5        INIT_FCALL                                               'true'
          6        DO_FCALL                                      0  $1      
          7        ECHO                                                     $1
   13     8        INIT_FCALL                                               'false'
          9        DO_FCALL                                      0  $2      
         10        ECHO                                                     $2
   14    11        INIT_FCALL                                               'null'
         12        DO_FCALL                                      0  $3      
         13        ECHO                                                     $3
   15    14      > RETURN                                                   1

Function true:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/V3H2n
function name:  true
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E > > RETURN                                                   'The+truth+...'
    5     1*     > RETURN                                                   null

End of function true

Function false:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/V3H2n
function name:  false
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E > > RETURN                                                   'Do+not+be+false...'
    8     1*     > RETURN                                                   null

End of function false

Function null:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/V3H2n
function name:  null
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E > > RETURN                                                   't%27is+nothing+at+all...'
   11     1*     > RETURN                                                   null

End of function null

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.43 ms | 1399 KiB | 18 Q