3v4l.org

run code in 300+ PHP versions simultaneously
<?php $age = 8; if ($age <=12) { echo "Bonjour, gamain!"; $autorisation = "oui"; } else { echo "Vous etes trop vieux pour entrer"; $autorisation = "non"; } echo "Vous avez l'autorisation d'entrer? Reponse: $autorisation "; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 6
Branch analysis from position: 3
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/erKmR
function name:  (null)
number of ops:  13
compiled vars:  !0 = $age, !1 = $autorisation
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 8
    4     1        IS_SMALLER_OR_EQUAL                                      !0, 12
          2      > JMPZ                                                     ~3, ->6
    6     3    >   ECHO                                                     'Bonjour%2C+gamain%21'
    7     4        ASSIGN                                                   !1, 'oui'
          5      > JMP                                                      ->8
   11     6    >   ECHO                                                     'Vous+etes+trop+vieux+pour+entrer'
   12     7        ASSIGN                                                   !1, 'non'
   14     8    >   ROPE_INIT                                     3  ~7      'Vous+avez+l%27autorisation+d%27entrer%3F+Reponse%3A+'
          9        ROPE_ADD                                      1  ~7      ~7, !1
         10        ROPE_END                                      2  ~6      ~7, '+'
         11        ECHO                                                     ~6
   15    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.17 ms | 1393 KiB | 13 Q