3v4l.org

run code in 300+ PHP versions simultaneously
<?php assert_options(ASSERT_ACTIVE, 0); function foo() { echo 'foo'; return true; } assert(foo()); assert('foo()');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rtvQd
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'assert_options'
          1        SEND_VAL                                                 1
          2        SEND_VAL                                                 0
          3        DO_ICALL                                                 
   11     4        ASSERT_CHECK                                             
          5        INIT_FCALL                                               'assert'
          6        INIT_FCALL                                               'foo'
          7        DO_FCALL                                      0  $1      
          8        SEND_VAR                                                 $1
          9        SEND_VAL                                                 'assert%28foo%28%29%29'
         10        DO_ICALL                                                 
   12    11        ASSERT_CHECK                                             
         12        INIT_FCALL                                               'assert'
         13        SEND_VAL                                                 'foo%28%29'
         14        SEND_VAL                                                 'assert%28%27foo%28%29%27%29'
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Function foo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rtvQd
function name:  foo
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ECHO                                                     'foo'
    8     1      > RETURN                                                   <true>
    9     2*     > RETURN                                                   null

End of function foo

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.02 ms | 1397 KiB | 18 Q