3v4l.org

run code in 300+ PHP versions simultaneously
<?php function null_or_not(?string $string) { echo $string; } null_or_not('does it work?'); null_or_not(NULL);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cR2tv
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'null_or_not'
          1        SEND_VAL                                                 'does+it+work%3F'
          2        DO_FCALL                                      0          
    8     3        INIT_FCALL                                               'null_or_not'
          4        SEND_VAL                                                 null
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

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

End of function null_or_not

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
129.67 ms | 1001 KiB | 15 Q