On Mon, Aug 08, 2005 at 03:37:53PM +0200, Christopher Kunz wrote:
Hi,
I have a general question in regard to the PHP variable normalizing.
Obviously,
leading whitespace in a variable is stripped, but why is trailing whitespace
converted to underscores?
See
On Tue, Aug 02, 2005 at 03:42:00PM +0100, Meno Abels wrote:
Hello,
With my application that uses heavily inherent classes, sometimes I
get the following message:
PHP Fatal error: Call to undefined method Rank::_construtor() in
.../inc/Links.class.php. It works
?
$cnst = DEBUG;
// what I want to do but can't
if ($dbg = constant($cnst)) {
// do stuff
}
// the only real option, it seems - bit long winded to get round a stupid
(IMHO)
if (defined($cnst) ($dbg = constant($cnst))) {
// do stuff
}
What is stupid with validating
On Thu, Jun 16, 2005 at 09:30:20AM -0700, boots wrote:
If there is any merit to E_STRICT as it stands currently I find it to
be negated by the fact that it throws messages for completely
acceptable code that the engine is both willing and capable of
handling. If var is not acceptable, I think
Hello,
when use of nonexistent object happens, PHP generates E_STRICT
message (Creating default object from empty value) -
via make_real_object (zend_execute.c).
Unfortunately, it appears only if it's like:
$idontexist-someinteger = 1;
$idontexist-somestring = 'foo';
$idontexist-somearray =