Chuck Hagenbuch wrote:
> So, if I want a "global" exception, I use ::Exception. If I say
> Exception, then I mean my namespace's Exception with no fallback. And
> if I want another namespace's Exception, I import it (import
> Other::Exception).
I (and PEAR) could live with this. I don't have a p
Quoting Gregory Beaver <[EMAIL PROTECTED]>:
Are you suggesting there be namespace-specific autoload? This sounds
interesting to me, but also quite complex, not sure the benefits would
outweigh the difficulties for implementation. For instance, PEAR2
namespace would be different from PEAR2::Som
Chuck Hagenbuch wrote:
> Hi folks-
>
> I've hit upon something with namespaces and autoloading that I think is
> a little out of order. If you take the attached 3 files, put them in the
> same directory, and run demo.php, you will see this:
>
> Fatal error: Uncaught exception 'Exception' in
> /Us
Hi folks-
I've hit upon something with namespaces and autoloading that I think
is a little out of order. If you take the attached 3 files, put them
in the same directory, and run demo.php, you will see this:
Fatal error: Uncaught exception 'Exception' in /Users/chuck/Desktop/test.php:7
If
(resending this message as got return errors)
Thanks Nuno for this proposition
for sure Sun is very interested in publishing/sharing the test results
of integrating PHP 5.2.4 in its OpenSolaris version (Solaris Express
Developer Edition, SXDE)
fyi, the PHP 5.2.4 test suite has already been exec
news.php.net wrote:
I might have a define("DEBUG",$_SERVER["REMOTE_ADDR"]=="myip"); included -
on not
Just make sure you always set DEBUG, shouldn't be too hard if your code
has any structure ;-)
- Chris
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://w
""Alexey Zakhlestin"" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> and what's wrong with the following syntax?
>
> if(defined('DEBUG')) print_r($_SESSION);
I might have a define("DEBUG",$_SERVER["REMOTE_ADDR"]=="myip"); included -
on not
I know defined exists but, m
and what's wrong with the following syntax?
if(defined('DEBUG')) print_r($_SESSION);
I don't think there's a need to change anything here…
On 10/19/07, news.php.net <[EMAIL PROTECTED]> wrote:
> I was wondering if someone already think about modifying the actual behavior
> of undefined constants
I was wondering if someone already think about modifying the actual behavior
of undefined constants in php6.
I'm desperate with some
if(DEBUG) print_r($_SESSION);
- and lot others case -
Is there a possibility undefined constants ( strings ) return "null" :x ?
I do not think it's a mistake, sin
On Friday 19 October 2007, Lukas Kahwe Smith wrote:
> > I've actually had issues in the past with PDO and non-exception
> > error-mode
> > handling. I had queries that were running fine but when I checked
> > the error
> > value it gave a non-OK value. (I forget what off hand.) As soon as I
> >
10 matches
Mail list logo