3v4l.org

run code in 300+ PHP versions simultaneously
<?php $alphabet=array("C", "A","D"); echo count($alphabet); echo "<br>"; echo $alphabet[1]; echo "<br>"; function setAge($age){ echo "your Age= ". $age; } setAge(20); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/I9D0W
function name:  (null)
number of ops:  11
compiled vars:  !0 = $alphabet
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        COUNT                                            ~2      !0
          2        ECHO                                                     ~2
    5     3        ECHO                                                     '%3Cbr%3E'
    6     4        FETCH_DIM_R                                      ~3      !0, 1
          5        ECHO                                                     ~3
    7     6        ECHO                                                     '%3Cbr%3E'
   13     7        INIT_FCALL                                               'setage'
          8        SEND_VAL                                                 20
          9        DO_FCALL                                      0          
   14    10      > RETURN                                                   1

Function setage:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/I9D0W
function name:  setAge
number of ops:  4
compiled vars:  !0 = $age
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   RECV                                             !0      
   10     1        CONCAT                                           ~1      'your+Age%3D+', !0
          2        ECHO                                                     ~1
   11     3      > RETURN                                                   null

End of function setage

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.01 ms | 1397 KiB | 14 Q