3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = []; array_push($array, 'Kenyon Velazquez'); array_push($array, 'Seth Ellison"'); $length = count($array); var_dump($array); echo "Length:".$length;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZhP3l
function name:  (null)
number of ops:  17
compiled vars:  !0 = $array, !1 = $length
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    5     1        INIT_FCALL                                                   'array_push'
          2        SEND_REF                                                     !0
          3        SEND_VAL                                                     'Kenyon+Velazquez'
          4        DO_ICALL                                                     
    6     5        INIT_FCALL                                                   'array_push'
          6        SEND_REF                                                     !0
          7        SEND_VAL                                                     'Seth+Ellison%22'
          8        DO_ICALL                                                     
    8     9        COUNT                                                ~5      !0
         10        ASSIGN                                                       !1, ~5
    9    11        INIT_FCALL                                                   'var_dump'
         12        SEND_VAR                                                     !0
         13        DO_ICALL                                                     
   10    14        CONCAT                                               ~8      'Length%3A', !1
         15        ECHO                                                         ~8
   11    16      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
158.04 ms | 2003 KiB | 14 Q