<?php
function number($x) {

if ($x % 2) {
               echo " even";
        } else {
              echo "odd";
    }
      echo (number(100)); \\result- even
      echo (number(23));\\ result- odd
}


by Gvanca Gharibashvili
2 years ago
PHP
Object Oriented PHP Tutorial
0
Pro tip: use ```triple backticks around text``` to write in code fences