3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array(); echo count($array); $str = ' '; echo strlen($str);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RAqE0
function name:  (null)
number of ops:  7
compiled vars:  !0 = $array, !1 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        COUNT                                            ~3      !0
          2        ECHO                                                     ~3
    4     3        ASSIGN                                                   !1, '+'
    5     4        STRLEN                                           ~5      !1
          5        ECHO                                                     ~5
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.22 ms | 1392 KiB | 13 Q