Created
May 16, 2018 19:47
-
-
Save ZeusAFK/40f1693765d7f91898c3862b92122b8a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$n = 4; | |
if($n % 2 == 0) | |
$par = true; | |
else | |
$par = false; | |
echo $par; | |
$par = $n % 2 == 0 ? $par = true : $par = false; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment