3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ("123" < "456A") { print "123 < 456A\n"; } if ("456A" < "78") { print "456A < 78\n"; print (integer) "456A"; } if ("78" < "123") { print "78 < 123\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 1, Position 2 = 2
Branch analysis from position: 1
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 6
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
Branch analysis from position: 6
Branch analysis from position: 2
filename:       /in/a5XnO
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > JMPZ                                                     <true>, ->2
    4     1    >   ECHO                                                     '123+%3C+456A%0A'
    8     2    > > JMPZ                                                     <true>, ->6
    9     3    >   ECHO                                                     '456A+%3C+78%0A'
   10     4        CAST                                          4  ~0      '456A'
          5        ECHO                                                     ~0
   13     6    > > JMPZ                                                     <true>, ->8
   14     7    >   ECHO                                                     '78+%3C+123%0A'
   15     8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.62 ms | 1393 KiB | 13 Q