3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = [1,2,3]; $y = 4; var_dump(count($x) >= $y); var_dump(!count($x) >= $y); var_dump(!(count($x) >= $y));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qM9OJ
function name:  (null)
number of ops:  20
compiled vars:  !0 = $x, !1 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, 4
    6     2        INIT_FCALL                                               'var_dump'
          3        COUNT                                            ~4      !0
          4        IS_SMALLER_OR_EQUAL                              ~5      !1, ~4
          5        SEND_VAL                                                 ~5
          6        DO_ICALL                                                 
    7     7        INIT_FCALL                                               'var_dump'
          8        COUNT                                            ~7      !0
          9        BOOL_NOT                                         ~8      ~7
         10        IS_SMALLER_OR_EQUAL                              ~9      !1, ~8
         11        SEND_VAL                                                 ~9
         12        DO_ICALL                                                 
    8    13        INIT_FCALL                                               'var_dump'
         14        COUNT                                            ~11     !0
         15        IS_SMALLER_OR_EQUAL                              ~12     !1, ~11
         16        BOOL_NOT                                         ~13     ~12
         17        SEND_VAL                                                 ~13
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.09 ms | 1435 KiB | 14 Q