ID:               31035
 Updated by:       [EMAIL PROTECTED]
 Reported By:      freeseacher at pisem dot net
-Status:           Open
+Status:           Wont fix
 Bug Type:         Feature/Change Request
 Operating System: freebsd 4.10
 PHP Version:      4.3.9
 New Comment:

Define our own function which checks for a parameter.... this can be
very easily done in user land.


Previous Comments:
------------------------------------------------------------------------

[2004-12-09 10:04:34] freeseacher at pisem dot net

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 this bug report at http://bugs.php.net/?id=31035&edit=1

Reply via email to