3v4l.org

run code in 300+ PHP versions simultaneously
<?php $days_number = 360; $days_to_new_year = 366 - $days_number; //expression if ($days_to_new_year < 30) { echo "not long now till new year"; //statement # code... } elseif ($days_to_new_year > 30) { echo "you still got a long way to go!"; //statement # code... }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
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/OWqHW
function name:  (null)
number of ops:  11
compiled vars:  !0 = $days_number, !1 = $days_to_new_year
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 360
    4     1        SUB                                              ~3      366, !0
          2        ASSIGN                                                   !1, ~3
    6     3        IS_SMALLER                                               !1, 30
          4      > JMPZ                                                     ~5, ->7
   10     5    >   ECHO                                                     'not+long+now+till+new+year'
          6      > JMP                                                      ->10
   14     7    >   IS_SMALLER                                               30, !1
          8      > JMPZ                                                     ~6, ->10
   16     9    >   ECHO                                                     'you+still+got+a+long+way+to+go%21'
   17    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.87 ms | 1392 KiB | 13 Q