3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test() { return null; } function call() { $a = null; if (!a) { return 4221412; } } call();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Hacsi
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   INIT_FCALL                                               'call'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

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

End of function test

Function call:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 5
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Hacsi
function name:  call
number of ops:  6
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   ASSIGN                                                   !0, null
    9     1        FETCH_CONSTANT                                   ~2      'a'
          2        BOOL_NOT                                         ~3      ~2
          3      > JMPZ                                                     ~3, ->5
   10     4    > > RETURN                                                   4221412
   12     5    > > RETURN                                                   null

End of function call

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.58 ms | 1397 KiB | 14 Q