Re: [PHP-DEV] Exception thrown without a stack frame

2007-06-30 Thread Jakob Buchgraber
Okay, I can now reproduce the problem. Here is the code: I couldn't reproduce it before as I didn't assign the instance of Foo to a variable, however Christian Hoffmann pointed me out that I need to do this in order to get the desired error. - Jakob -- PHP Internals - PHP Runtime Developmen

Re: [PHP-DEV] Exception thrown without a stack frame

2007-06-30 Thread Jakob Buchgraber
s are getting accessed. On Thu, June 28, 2007 3:25 pm, Jakob Buchgraber wrote: Hey! I sometimes get the following error >> Fatal error: Exception thrown without a stack frame in >> Unknown on line 0 What does this mean? Should this ever happen or does it somehow say that there is a

Re: [PHP-DEV] Re: Exception thrown without a stack frame

2007-06-30 Thread Jakob Buchgraber
n a file and I got an exception writing data into the file as I missed the rights. Is that a bad solution? Any suggestions? Thank you! Jakob Buchgraber -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: Exception thrown without a stack frame

2007-06-30 Thread Jakob Buchgraber
Adam Ashley wrote: I sometimes get the following error >> Fatal error: Exception thrown without a stack frame in >> Unknown on line 0 What does this mean? When we see these, they're typically from our custom session handler. In my experience that error is almost certainly in a piece of y

[PHP-DEV] Exception thrown without a stack frame

2007-06-28 Thread Jakob Buchgraber
Hey! I sometimes get the following error >> Fatal error: Exception thrown without a stack frame in >> Unknown on line 0 What does this mean? Should this ever happen or does it somehow say that there is a bug in PHP. I am asking this because I've had this error a few times and it's pretty hard t

[PHP-DEV] print_r outputs nothing for "false"

2007-04-29 Thread Jakob Buchgraber
Hello! While debuging I recognized that print_r does not output anything for bool(false) (PHP 5.2.1). e.g. Expected result: Array ( [0] => 1 [1] => 0 [2] => String ) Actual result: Array ( [0] => 1 [1] => [2] => String ) I was not quite sure whether this is expecte

[PHP-DEV] Re: abstract static function

2007-04-05 Thread Jakob Buchgraber
Jingcheng Zhang wrote: Hi internals, I used to use abstract static function prior to php 5.2, because when I consider static class as a singleton, I can use abstract static function to delay the implementation of some methods to the derived classes. This happens, for example, when I declare a

[PHP-DEV] Fatal Error on pecl.php.net and bugs.php.net not responding

2007-03-25 Thread Jakob Buchgraber
Hey! When using the search on pecl.php.net I get a PHP fatal error. I actually wanted to file a bug, but http://bugs.php.net is not responding. I queried for APC using the package search: http://pecl.php.net/package-search.php?pkg_name=APC&bool=AND&submit=Search Here is what I get: Fatal er

Re: [PHP-DEV] snaps.php.net is not responding to http requests.

2007-03-24 Thread Jakob Buchgraber
Derick Rethans wrote: On Fri, 23 Mar 2007, Antony Dovgal wrote: On 03/23/2007 05:35 PM, Richard Quadling wrote: It seems. Works fine, check your connection. Because I just restarted apache :) regards, Derick pecl.php.net and pear.php.net are also not responding neither to the installer

Re: [PHP-DEV] Constant Parameters

2007-03-02 Thread Jakob Buchgraber
Marco Kaiser wrote: Hi Jakob, It would be nice if in PHP 6 using constant parameters for functions and methods would be possible. This feature is e.g. available in Java. function doSth (const A) { if (defined ("A")) echo "A is a constant"; } doSth ("foo"); Cheers, Jay This makes absolut

[PHP-DEV] Constant Parameters

2007-03-02 Thread Jakob Buchgraber
Hello! It would be nice if in PHP 6 using constant parameters for functions and methods would be possible. This feature is e.g. available in Java. function doSth (const A) { if (defined ("A")) echo "A is a constant"; } doSth ("foo"); Cheers, Jay -- PHP Internals - PHP Runtime Developmen