3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.68 ms | 1396 KiB | 13 Q