3v4l.org

run code in 500+ PHP versions simultaneously
<?php namespace N; $array = []; $result = count($array) > 0;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FP7aY
function name:  (null)
number of ops:  7
compiled vars:  !0 = $array, !1 = $result
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                       !0, <array>
    6     1        INIT_NS_FCALL_BY_NAME                                        'N%5Ccount'
          2        SEND_VAR_EX                                                  !0
          3        DO_FCALL                                          0  $3      
          4        IS_SMALLER                                           ~4      0, $3
          5        ASSIGN                                                       !1, ~4
    7     6      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
187.44 ms | 2088 KiB | 14 Q