3v4l.org

run code in 300+ PHP versions simultaneously
<?php $whatisPI = 3.141592653589; $pineapple = "fruit"; if ($pineapple == "car") { echo("Shit's hit the fan.."); } else{ echo("Pineapples are still not vehicles, good, here's PI."); echo($whatisPI); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jjlmH
function name:  (null)
number of ops:  9
compiled vars:  !0 = $whatisPI, !1 = $pineapple
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 3.14159
    5     1        ASSIGN                                                   !1, 'fruit'
    7     2        IS_EQUAL                                                 !1, 'car'
          3      > JMPZ                                                     ~4, ->6
    8     4    >   ECHO                                                     'Shit%27s+hit+the+fan..'
          5      > JMP                                                      ->8
   10     6    >   ECHO                                                     'Pineapples+are+still+not+vehicles%2C+good%2C+here%27s+PI.'
   11     7        ECHO                                                     !0
   12     8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.78 ms | 1392 KiB | 13 Q