3v4l.org

run code in 300+ PHP versions simultaneously
<?php If (100>55) EchO "my php Program 1" ; Else echo "my php program 2" ; // second program lets step it up a notch ; $var1 = 100 ; $var2 = 50 ; $total = ($var1 + $var2) ; if ($total > 95) Echo "kendi coding like a n00b" ; else echo "kendi coding like a novice" ; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 1, Position 2 = 3
Branch analysis from position: 1
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
Branch analysis from position: 12
filename:       /in/CKJr9
function name:  (null)
number of ops:  14
compiled vars:  !0 = $var1, !1 = $var2, !2 = $total
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E > > JMPZ                                                     <true>, ->3
    3     1    >   ECHO                                                     'my+php+Program+1'
          2      > JMP                                                      ->4
    4     3    >   ECHO                                                     'my+php+program+2'
    6     4    >   ASSIGN                                                   !0, 100
    7     5        ASSIGN                                                   !1, 50
    8     6        ADD                                              ~5      !0, !1
          7        ASSIGN                                                   !2, ~5
    9     8        IS_SMALLER                                               95, !2
          9      > JMPZ                                                     ~7, ->12
   10    10    >   ECHO                                                     'kendi+coding+like+a+n00b'
         11      > JMP                                                      ->13
   11    12    >   ECHO                                                     'kendi+coding+like+a+novice'
   12    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.32 ms | 1393 KiB | 13 Q