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

Reply via email to