Derick Rethans wrote:
>> Since this new error level is being created, I have a suggestion for
>> another type of error I would very much like to see changed from
>> fatal to "recoverable". The error I'm referring to is attempting to
>> call a method on a non-object. This used to be a E_WARNING a
Derick Rethans wrote:
> I implemented that (except I dropped the _ERROR part for
> E_RECOVERABLE_ERROR as I found it too long). The patch is here:
>
> http://files.derickrethans.nl/patches/e_fatal-20050825.diff.txt
>
> Any comments?
Since this new error level is being created, I have a suggestion
Derick Rethans wrote:
> Hei,
>
> currently if you pass a wrong object's type to a typehinted parameter:
[...]
> Fatal error: Argument 1 must be an instance of foo in /tmp/foo.php on
> line 3
>
> As type hinting is a new OO thing, it might perhaps make some sense to
> make this an except
Andi Gutmans wrote:
> At 09:02 AM 1/7/2005 -0800, AugSoft wrote:
>> + This patch enables PHP's ODBC extension on
>> certain non-Windows platforms (Linux, Mac OS X,
>
> Just out of curiosity, how does ODBC Router differ from the other ODBC
> bridge solutions out there?
Sorry for the arguably off-to
Sean Chittenden wrote:
> A boolean value is returned as the strings 't' and 'f', not the
> constants true and false. This presents all kinds of interesting
> oddities for code that does something like:
[...]
You're probably already aware of this, but you can use a bit(1) field as a
boolean and th
Jason Garber wrote:
> Hello internals,
>
> What is the best way, from within a php script, to tell that the
> script is being run on the command line?
>
> I've used if(defined('STDIN')) but that seems kind of kludgey.
I've used
if (php_sapi_name() == 'cli') ...
which seems to work wel
[EMAIL PROTECTED] wrote:
> I am looking for a little HowTo/Tutorial how am I able to add new
> features to PHP - perhaps as a module (dont know if it is possible)
> or as a lib or as something else.. .:)
The last few chapters of George Schlossnagle's "Advanced PHP Programming"
are devoted to this
(Please forgive me if this is not the right forum for this question. This isn't
exactly a bug so I didn't feel it was right to open a bug report.)
I have a question about a change that was made to ext/sybase/php_sybase_db.c between
PHP versions 4.3.3 and 4.3.4. I'm referring specifically to revi
On Wed, 26 Mar 2003 17:08:25 -, you wrote:
>Choosing between "case 0:" and (say) "case_identical 0:" would only be the
>same as choosing between == and === in an if statement -- it would just give
>the opportunity to do it using the elegant switch structure instead of the
>clumsy if...elseif..