3v4l.org

run code in 300+ PHP versions simultaneously
<?php const ∞ = INF; for($x = -∞;$x < ∞; $x += ∞); var_dump($x);;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 5
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 5
Branch analysis from position: 10
Branch analysis from position: 5
filename:       /in/HsaUR
function name:  (null)
number of ops:  14
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   DECLARE_CONST                                            '%E2%88%9E', INF
          1        FETCH_CONSTANT                                   ~1      '%E2%88%9E'
          2        MUL                                              ~2      ~1, -1
          3        ASSIGN                                                   !0, ~2
          4      > JMP                                                      ->7
          5    >   FETCH_CONSTANT                                   ~4      '%E2%88%9E'
          6        ASSIGN_OP                                     1          !0, ~4
          7    >   FETCH_CONSTANT                                   ~6      '%E2%88%9E'
          8        IS_SMALLER                                               !0, ~6
          9      > JMPNZ                                                    ~7, ->5
         10    >   INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.04 ms | 1399 KiB | 15 Q