Doc #63295 [NEW]: Missing information about function alias

From: Date: Tue, 16 Oct 2012 23:02:59 +0000
Subject: Doc #63295 [NEW]: Missing information about function alias
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-8966@lists.php.net to get a copy of this message
From: dreen1 at gmail dot com Operating system: any PHP version: Irrelevant Package: MySQL related Bug Type: Documentation Problem Bug description:Missing information about function alias Description: ------------ mysql() is an alias to mysql_db_query() which itself is deprecated. this fact is undocumented and left me wondering for a long time why I can't define mysql(). Reading source code revealed the truth. Test script: --------------- <?php function mysql() { return "nope"; } ?> -- Edit bug report at https://bugs.php.net/bug.php?id=63295&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63295&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63295&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63295&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=63295&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=63295&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=63295&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=63295&r=needscript Try newer version: https://bugs.php.net/fix.php?id=63295&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=63295&r=support Expected behavior: https://bugs.php.net/fix.php?id=63295&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=63295&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=63295&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=63295&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63295&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=63295&r=dst IIS Stability: https://bugs.php.net/fix.php?id=63295&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=63295&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=63295&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=63295&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=63295&r=mysqlcfg

« previous php.doc.bugs (#8966) next »