Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » SPL Exception subclasses
SPL Exception subclasses [message #14038] Sun, 15 April 2007 04:23 Go to next message
Eclipse UserFriend
Originally posted by: bsimpson.mstc.state.ms.us

Can anyone explain why none of PHP5's SPL (StandardPHPLibrary) Exception
subclasses like LogicException or InvalidArgumentException show up in
PDT's autocomplete, yet all the SPL Iterator subclasses like
ArrayIterator and DirectoryIterator do? I can throw and catch exceptions
of those subclasses by typing them out myself (like in the
not-too-distant bad old days), and the code runs just fine on my local
server, so those classes are either compiled into my php module or
they're in the include path of PHP. I just can't seem to get PDT to
provide those class names in autocomplete like it does for the base
Exception class and all Iterator classes.

Here's what I'm running:
PDT S20070401-RC3
Eclipse 3.2.2
Apache 2.2.4
PHP 5.2.1 (as apache module)
Zend 2.2.0
WinXP
Re: SPL Exception subclasses [message #15288 is a reply to message #14038] Wed, 18 April 2007 14:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: roy.zend..com

Hi Barry,
Can you open a bug regarding this post? it is doable...
Bests,


"Barry Simpson" <bsimpson@mstc.state.ms.us> wrote in message
news:evs9b0$58m$1@build.eclipse.org...
> Can anyone explain why none of PHP5's SPL (StandardPHPLibrary) Exception
> subclasses like LogicException or InvalidArgumentException show up in
> PDT's autocomplete, yet all the SPL Iterator subclasses like ArrayIterator
> and DirectoryIterator do? I can throw and catch exceptions of those
> subclasses by typing them out myself (like in the not-too-distant bad old
> days), and the code runs just fine on my local server, so those classes
> are either compiled into my php module or they're in the include path of
> PHP. I just can't seem to get PDT to provide those class names in
> autocomplete like it does for the base Exception class and all Iterator
> classes.
>
> Here's what I'm running:
> PDT S20070401-RC3
> Eclipse 3.2.2
> Apache 2.2.4
> PHP 5.2.1 (as apache module)
> Zend 2.2.0
> WinXP
Re: SPL Exception subclasses [message #15321 is a reply to message #14038] Wed, 18 April 2007 14:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: roy.zend..com

Hi Barry,
Can you open an issue about it in Bugzilla, it is doable..

Roy

"Barry Simpson" <bsimpson@mstc.state.ms.us> wrote in message
news:evs9b0$58m$1@build.eclipse.org...
> Can anyone explain why none of PHP5's SPL (StandardPHPLibrary) Exception
> subclasses like LogicException or InvalidArgumentException show up in
> PDT's autocomplete, yet all the SPL Iterator subclasses like ArrayIterator
> and DirectoryIterator do? I can throw and catch exceptions of those
> subclasses by typing them out myself (like in the not-too-distant bad old
> days), and the code runs just fine on my local server, so those classes
> are either compiled into my php module or they're in the include path of
> PHP. I just can't seem to get PDT to provide those class names in
> autocomplete like it does for the base Exception class and all Iterator
> classes.
>
> Here's what I'm running:
> PDT S20070401-RC3
> Eclipse 3.2.2
> Apache 2.2.4
> PHP 5.2.1 (as apache module)
> Zend 2.2.0
> WinXP
Re: SPL Exception subclasses [message #47859 is a reply to message #15288] Wed, 29 August 2007 21:24 Go to previous message
Eclipse UserFriend
Originally posted by: pavel.kunc.google.com

Hi Roy,

I'd like to have this working so I did, bug report: =

https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D201656

Pavel

On Wed, 18 Apr 2007 16:12:49 +0200, Roy Ganor <roy@zend..com> wrote:

> Hi Barry,
> Can you open a bug regarding this post? it is doable...
> Bests,
>
>
> "Barry Simpson" <bsimpson@mstc.state.ms.us> wrote in message
> news:evs9b0$58m$1@build.eclipse.org...
>> Can anyone explain why none of PHP5's SPL (StandardPHPLibrary) Except=
ion
>> subclasses like LogicException or InvalidArgumentException show up in=

>> PDT's autocomplete, yet all the SPL Iterator subclasses like =

>> ArrayIterator
>> and DirectoryIterator do? I can throw and catch exceptions of those
>> subclasses by typing them out myself (like in the not-too-distant bad=
=

>> old
>> days), and the code runs just fine on my local server, so those class=
es
>> are either compiled into my php module or they're in the include path=
of
>> PHP. I just can't seem to get PDT to provide those class names in
>> autocomplete like it does for the base Exception class and all Iterat=
or
>> classes.
>>
>> Here's what I'm running:
>> PDT S20070401-RC3
>> Eclipse 3.2.2
>> Apache 2.2.4
>> PHP 5.2.1 (as apache module)
>> Zend 2.2.0
>> WinXP
>
Previous Topic:Breakpoints in anything but first page do not work
Next Topic:Can't get XDebug to work
Goto Forum:
  


Current Time: Thu Apr 25 20:22:34 GMT 2024

Powered by FUDForum. Page generated in 0.02722 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top