3v4l.org

run code in 300+ PHP versions simultaneously
<?php function Test($t,$in,$a,$what=null) { echo 'It is all a ',$t, ' ', $in, ' ', $a, ' ', $what,"\n"; } Test('tempest','in','a','teapot'); Test('tempest','in','a','...');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8LFg5
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'test'
          1        SEND_VAL                                                 'tempest'
          2        SEND_VAL                                                 'in'
          3        SEND_VAL                                                 'a'
          4        SEND_VAL                                                 'teapot'
          5        DO_FCALL                                      0          
    6     6        INIT_FCALL                                               'test'
          7        SEND_VAL                                                 'tempest'
          8        SEND_VAL                                                 'in'
          9        SEND_VAL                                                 'a'
         10        SEND_VAL                                                 '...'
         11        DO_FCALL                                      0          
         12      > RETURN                                                   1

Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8LFg5
function name:  Test
number of ops:  14
compiled vars:  !0 = $t, !1 = $in, !2 = $a, !3 = $what
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV_INIT                                        !3      null
    3     4        ECHO                                                     'It+is+all+a+'
          5        ECHO                                                     !0
          6        ECHO                                                     '+'
          7        ECHO                                                     !1
          8        ECHO                                                     '+'
          9        ECHO                                                     !2
         10        ECHO                                                     '+'
         11        ECHO                                                     !3
         12        ECHO                                                     '%0A'
    4    13      > RETURN                                                   null

End of function test

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.51 ms | 1398 KiB | 15 Q