3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'bla'; ECHO 'blee'; ecHO 'ho,ho'; echo TRUE; echo true; echo trUE; echo PHP_OS; echo php_OS; var_dump(TRUE,FALSE,NULL); // they have data types and what has data types? variables; not keywords! 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();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/A24SQ
function name:  (null)
number of ops:  24
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     'bla'
    3     1        ECHO                                                     'blee'
    4     2        ECHO                                                     'ho%2Cho'
    5     3        ECHO                                                     <true>
    6     4        ECHO                                                     <true>
    7     5        ECHO                                                     <true>
    8     6        ECHO                                                     'Linux'
    9     7        FETCH_CONSTANT                                   ~0      'php_OS'
          8        ECHO                                                     ~0
   10     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAL                                                 <true>
         11        SEND_VAL                                                 <false>
         12        SEND_VAL                                                 null
         13        DO_ICALL                                                 
   20    14        INIT_FCALL                                               'true'
         15        DO_FCALL                                      0  $2      
         16        ECHO                                                     $2
   21    17        INIT_FCALL                                               'false'
         18        DO_FCALL                                      0  $3      
         19        ECHO                                                     $3
   22    20        INIT_FCALL                                               'null'
         21        DO_FCALL                                      0  $4      
         22        ECHO                                                     $4
         23      > RETURN                                                   1

Function true:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/A24SQ
function name:  true
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E > > RETURN                                                   'The+truth+...'
   13     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/A24SQ
function name:  false
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E > > RETURN                                                   'Do+not+be+false...'
   16     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/A24SQ
function name:  null
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E > > RETURN                                                   't%27is+nothing+at+all...'
   19     1*     > RETURN                                                   null

End of function null

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.49 ms | 1399 KiB | 18 Q