3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hello = "hello" . "world"; $a = null; for($i = 0; $i > 5; $i++) { $a++; } $fuck = true; print "hello"; if ($fuck === true && $fuck !== false) { print $hello . "\n"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 4
Branch analysis from position: 8
2 jumps found. (Code = 46) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 17
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
Branch analysis from position: 14
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 4
Branch analysis from position: 8
Branch analysis from position: 4
filename:       /in/LIvWA
function name:  (null)
number of ops:  18
compiled vars:  !0 = $hello, !1 = $a, !2 = $i, !3 = $fuck
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'helloworld'
    5     1        ASSIGN                                                   !1, null
    6     2        ASSIGN                                                   !2, 0
          3      > JMP                                                      ->6
          4    >   PRE_INC                                                  !1
          5        PRE_INC                                                  !2
          6    >   IS_SMALLER                                               5, !2
          7      > JMPNZ                                                    ~9, ->4
    7     8    >   ASSIGN                                                   !3, <true>
    8     9        ECHO                                                     'hello'
   10    10        TYPE_CHECK                                    8  ~11     !3
         11      > JMPZ_EX                                          ~11     ~11, ->14
         12    >   TYPE_CHECK                                  1018  ~12     !3
         13        BOOL                                             ~11     ~12
         14    > > JMPZ                                                     ~11, ->17
   11    15    >   CONCAT                                           ~13     !0, '%0A'
         16        ECHO                                                     ~13
   12    17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.75 ms | 1394 KiB | 13 Q