mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-19 16:06:32 +02:00
10 lines
84 B
PHP
10 lines
84 B
PHP
|
<?php
|
||
|
|
||
|
$var = false;
|
||
|
|
||
|
if ($var) {
|
||
|
$var = !$var;
|
||
|
} else {
|
||
|
$var = $var + 1;
|
||
|
}
|