From: [EMAIL PROTECTED] Operating system: n/a PHP version: 4.1.2 PHP Bug Type: Feature/Change Request Bug description: Want quick shortcut for <?php echo htmlspecialchars($var) ?>
Often, I'm left writing things like: <input type="text" name="yada" value="<?php echo htmlspecialchars($var) ?>"> It'd be nice if PHP let you write this instead: <input tupe="text" name="yada" value="<?php $var ?>"> with the echo and htmlspecialchars implied. Or at least the echo implied. -- Edit bug report at http://bugs.php.net/?id=16007&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16007&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16007&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16007&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16007&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16007&r=support Expected behavior: http://bugs.php.net/fix.php?id=16007&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16007&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16007&r=submittedtwice