Bug #8577 Updated: i would kill for the ability to undefine()

From: Date: Sat, 27 Apr 2002 19:24:12 +0000
Subject: Bug #8577 Updated: i would kill for the ability to undefine()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-6281@lists.php.net to get a copy of this message
ID: 8577 Updated by: voudras@nospam.swiftslayer.org Reported By: voudras@nospam.swiftslayer.org Status: Closed Bug Type: Feature/Change Request Operating System: N/A PHP Version: 4.0.4 New Comment: I have to admit that the above comment comes off as an insulting wisecrack. like im a moron for suggesting such a feature. what would K&R say to that? Anyway - i found a way around this PHP deficiency for now, and i did that by creating a set of functions which maintain an array of defined variables and respond accordinly to my own undefine, ifdefine, constant and define functions. cd /web/src/php4; grep -nir "undef" *; hmm, looks like the php developers found it useful in C Previous Comments: ------------------------------------------------------------------------ [2002-04-27 14:15:52] jimw@php.net if you could undefine, it wouldn't be constant. ------------------------------------------------------------------------ [2001-01-07 13:22:50] voudras@nospam.swiftslayer.org I don't know if this is impossible or extremely difficult (I assume its one of the two because this doesn't exist at the moment), but it would be very handy. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=8577&edit=1

« previous php.bugs (#6281) next »