3v4l.org

run code in 300+ PHP versions simultaneously
<?php $m = "m"; $z = "z"; $a = 'a'; echo($m <= $z); echo($z > $a); if($m <= $z){ echo("OK"); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/dRjSi
function name:  (null)
number of ops:  11
compiled vars:  !0 = $m, !1 = $z, !2 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'm'
    4     1        ASSIGN                                                   !1, 'z'
    5     2        ASSIGN                                                   !2, 'a'
    6     3        IS_SMALLER_OR_EQUAL                              ~6      !0, !1
          4        ECHO                                                     ~6
    7     5        IS_SMALLER                                       ~7      !2, !1
          6        ECHO                                                     ~7
    8     7        IS_SMALLER_OR_EQUAL                                      !0, !1
          8      > JMPZ                                                     ~8, ->10
    9     9    >   ECHO                                                     'OK'
   10    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.54 ms | 1392 KiB | 13 Q