3v4l.org

run code in 300+ PHP versions simultaneously
<?php $persona; $años =10; if ($años <= 10) { $persona = "Son iguales"; } else if ( años >= 18 && $años <= 35 ) { $persona = "Eres joven"; } else if ( $años >= 36 && $años < 66 ) { $persona = "Eres viejo"; } else { $persona = "Error"; } echo($persona);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 46) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
Branch analysis from position: 13
2 jumps found. (Code = 46) Position 1 = 15, Position 2 = 17
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 20
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
Branch analysis from position: 10
filename:       /in/b2hNV
function name:  (null)
number of ops:  23
compiled vars:  !0 = $persona, !1 = $años
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !1, 10
    4     1        IS_SMALLER_OR_EQUAL                                      !1, 10
          2      > JMPZ                                                     ~3, ->5
    5     3    >   ASSIGN                                                   !0, 'Son+iguales'
          4      > JMP                                                      ->21
    7     5    >   FETCH_CONSTANT                                   ~5      'a%C3%B1os'
          6        IS_SMALLER_OR_EQUAL                              ~6      18, ~5
          7      > JMPZ_EX                                          ~6      ~6, ->10
          8    >   IS_SMALLER_OR_EQUAL                              ~7      !1, 35
          9        BOOL                                             ~6      ~7
         10    > > JMPZ                                                     ~6, ->13
    8    11    >   ASSIGN                                                   !0, 'Eres+joven'
         12      > JMP                                                      ->21
   10    13    >   IS_SMALLER_OR_EQUAL                              ~9      36, !1
         14      > JMPZ_EX                                          ~9      ~9, ->17
         15    >   IS_SMALLER                                       ~10     !1, 66
         16        BOOL                                             ~9      ~10
         17    > > JMPZ                                                     ~9, ->20
   11    18    >   ASSIGN                                                   !0, 'Eres+viejo'
         19      > JMP                                                      ->21
   13    20    >   ASSIGN                                                   !0, 'Error'
   14    21    >   ECHO                                                     !0
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.57 ms | 1395 KiB | 13 Q