run code in 200+ php & hhvm versions
Bugs & Features
<?php function par_impar($numero){ // a través de esta sentencia creamos la función par e impar if($numero % 2 == 0){ // Aquí si el número es mayor de dos mas cero arrojara el número es par printf('par'); }else{ // mientras que si el numero no corresponde a la división de dos arroja impar. print('impar'); } } par_impar(8); // aquí ingresamos el número que deseamos verificar. ?>
based on ChNkD

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for Typed properties v2
Output for Arrow functions

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page