3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test() { return "ok"; } echo "is_null ( ", test("", true), " ) = ", var_export(null, true), " \n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VN1CL
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ECHO                                                     'is_null+%28+'
          1        INIT_FCALL                                               'test'
          2        SEND_VAL                                                 ''
          3        SEND_VAL                                                 <true>
          4        DO_FCALL                                      0  $0      
          5        ECHO                                                     $0
          6        ECHO                                                     '+%29+%3D+'
          7        INIT_FCALL_BY_NAME                                       '%C2%A0var_export'
          8        SEND_VAL_EX                                              null
          9        SEND_VAL_EX                                              <true>
         10        DO_FCALL                                      0  $1      
         11        ECHO                                                     $1
         12        ECHO                                                     '+%0A'
         13      > RETURN                                                   1

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

End of function test

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.97 ms | 1397 KiB | 14 Q