Re: PHP Editor - which to use?
| From: | Marek Kilimajer | Date: | Wed, 24 Sep 2003 14:12:27 +0000 |
| Subject: | Re: PHP Editor - which to use? | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-163740@lists.php.net to get a copy of this message | ||
Curt Zirzow wrote:
cat | realprogrammer | in_a_rush if($p) { $bu = substr( $_GET['o'], 0, $p ); $bup = substr( $_GET['o'], ++$p ); } else { $bu = $_GET['o']; $bup = ''; }This is a real world example of how real programmer in a rush can introduce bugs. Original example did not modify $p (or $pos_params).