3v4l.org

run code in 300+ PHP versions simultaneously
<?php function out($v='') { echo "$v\n"; } ?> newline newline newline <?php out('oh php') ?> newline newline <?php print('oh php') ?> newline newline
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Dn9mc
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ECHO                                                     'newline%0Anewline%0Anewline+'
    8     1        INIT_FCALL                                               'out'
          2        SEND_VAL                                                 'oh+php'
          3        DO_FCALL                                      0          
    9     4        ECHO                                                     'newline%0Anewline+'
   10     5        ECHO                                                     'oh+php'
   11     6        ECHO                                                     'newline%0Anewline'
   12     7      > RETURN                                                   1

Function out:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Dn9mc
function name:  out
number of ops:  5
compiled vars:  !0 = $v
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV_INIT                                        !0      ''
    3     1        NOP                                                      
          2        FAST_CONCAT                                      ~1      !0, '%0A'
          3        ECHO                                                     ~1
    4     4      > RETURN                                                   null

End of function out

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.23 ms | 1396 KiB | 14 Q