#31035 [NEW]: print function

From: Date: Thu, 09 Dec 2004 09:04:36 +0000
Subject: #31035 [NEW]: print function
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-69962@lists.php.net to get a copy of this message
From: freeseacher at pisem dot net Operating system: freebsd 4.10 PHP version: 4.3.9 PHP Bug Type: Feature/Change Request Bug description: print function Description: ------------ sorry foк my english I want to make some debug output from my script and make it optional. some thing like print(DEBUG1,"test"); So i need to print string only if debug level is 1 and so on. Reproduce code: --------------- print ("Connecting mysql..."); $link = mysql_connect($mysql_ht, $mysql_name, $mysql_pass) or die("\t\t FAILED!\n"); print ("\t\tOK!\n"); Expected result: ---------------- Connecting mysql... OK! -- Edit bug report at http://bugs.php.net/?id=31035&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31035&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31035&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31035&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=31035&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=31035&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31035&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31035&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31035&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31035&r=support Expected behavior: http://bugs.php.net/fix.php?id=31035&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31035&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31035&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=31035&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31035&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=31035&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31035&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31035&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31035&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=31035&r=mysqlcfg

« previous php.bugs (#69962) next »