3v4l.org

run code in 300+ PHP versions simultaneously
<?php /*Codigo para saber si numero ingresado es par o impar*/ $numero = 100; //variable del numero a analaziar if ($numero%2==0){ //se asigna el comparador echo "el $El numero como numero ingresado es par"; //mensaje si es par }else{ echo "el $El numero como numero ingresado es impar"; //mensaje si es impar*/ }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 9
Branch analysis from position: 4
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: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bGl7R
function name:  (null)
number of ops:  14
compiled vars:  !0 = $numero, !1 = $El
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 100
    4     1        MOD                                              ~3      !0, 2
          2        IS_EQUAL                                                 ~3, 0
          3      > JMPZ                                                     ~4, ->9
    5     4    >   ROPE_INIT                                     3  ~6      'el+'
          5        ROPE_ADD                                      1  ~6      ~6, !1
          6        ROPE_END                                      2  ~5      ~6, '+numero+como+numero+ingresado+es+par'
          7        ECHO                                                     ~5
          8      > JMP                                                      ->13
    7     9    >   ROPE_INIT                                     3  ~9      'el+'
         10        ROPE_ADD                                      1  ~9      ~9, !1
         11        ROPE_END                                      2  ~8      ~9, '+numero+como+numero+ingresado+es+impar'
         12        ECHO                                                     ~8
    8    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.7 ms | 1393 KiB | 13 Q