note 77689 added to control-structures.alternative-syntax
| From: | nog_lorp at osu1 dot php dot net | Date: | Sun, 09 Sep 2007 03:06:39 +0000 |
| Subject: | note 77689 added to control-structures.alternative-syntax | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-130321@lists.php.net to get a copy of this message | ||
(($alt_color) ? $alt_color=false : $alt_color=true);
would be way prettier as
$alt_color = not($alt_color);
:D
----
Server IP: 69.147.83.197
Probable Submitter: 76.103.42.54
----
Manual Page -- http://www.php.net/manual/en/control-structures.alternative-syntax.php
Edit -- https://master.php.net/note/edit/77689
Del: integrated -- https://master.php.net/note/delete/77689/integrated
Del: useless -- https://master.php.net/note/delete/77689/useless
Del: bad code -- https://master.php.net/note/delete/77689/bad+code
Del: spam -- https://master.php.net/note/delete/77689/spam
Del: non-english -- https://master.php.net/note/delete/77689/non-english
Del: in docs -- https://master.php.net/note/delete/77689/in+docs
Del: other reasons-- https://master.php.net/note/delete/77689
Reject -- https://master.php.net/note/reject/77689
Search -- https://master.php.net/manage/user-notes.php