3v4l.org

run code in 500+ PHP versions simultaneously
<?php const A = 1; const B = 2; const C = 3; $a = [A<B, B>(C)]; var_dump($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/S2PTJ
function name:  (null)
number of ops:  16
compiled vars:  !0 = $a
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   DECLARE_CONST                                                'A', 1
    4     1        DECLARE_CONST                                                'B', 2
    5     2        DECLARE_CONST                                                'C', 3
    7     3        FETCH_CONSTANT                                       ~1      'A'
          4        FETCH_CONSTANT                                       ~2      'B'
          5        IS_SMALLER                                           ~3      ~1, ~2
          6        INIT_ARRAY                                           ~4      ~3
          7        FETCH_CONSTANT                                       ~5      'B'
          8        FETCH_CONSTANT                                       ~6      'C'
          9        IS_SMALLER                                           ~7      ~6, ~5
         10        ADD_ARRAY_ELEMENT                                    ~4      ~7
         11        ASSIGN                                                       !0, ~4
    9    12        INIT_FCALL                                                   'var_dump'
         13        SEND_VAR                                                     !0
         14        DO_ICALL                                                     
         15      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
168.64 ms | 1324 KiB | 14 Q