diff --git a/Examples/View.php b/Examples/View.php index db6f001..b2c8306 100644 --- a/Examples/View.php +++ b/Examples/View.php @@ -104,10 +104,8 @@ $timer = number_format(microtime(true) - $timer, 4, '.', ''); echo '
'; print_r($infoValue); echo ''; - } elseif (true === $infoValue) { - echo 'true'; - } elseif (false === $infoValue) { - echo 'false'; + } elseif (is_bool($infoValue)) { + echo $infoValue ? 'true' : 'false'; } elseif (is_int($infoValue)) { echo $infoValue; } else { @@ -128,7 +126,7 @@ $timer = number_format(microtime(true) - $timer, 4, '.', '');
Player | +Players | Frags | Time |
---|