3v4l.org

run code in 300+ PHP versions simultaneously
<?php function string_lt($str1, $str2) { if ((string) $str1 < (string) $str2) { return true; } return false; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sqJsE
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E > > RETURN                                                   1

Function string_lt:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 7
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sqJsE
function name:  string_lt
number of ops:  9
compiled vars:  !0 = $str1, !1 = $str2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    5     2        CAST                                          6  ~2      !0
          3        CAST                                          6  ~3      !1
          4        IS_SMALLER                                               ~2, ~3
          5      > JMPZ                                                     ~4, ->7
          6    > > RETURN                                                   <true>
    6     7    > > RETURN                                                   <false>
    7     8*     > RETURN                                                   null

End of function string_lt

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.22 ms | 1393 KiB | 13 Q