3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.38 ms | 1385 KiB | 15 Q