At 23:50 07/09/2003, Attila Strauss wrote:
Hi,
are there any plans about implementing the ability to provide throws for
abstract classes?
Nope, no plans.
Zeev
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hello All,
IMHO. I agree with Andi, but the only way to I see fit to implement this is
through polymorphism. If every object is a subclass of an Object class then
passing a NULL reference would make more since and be perfectly legal.
-Justin Hannus
"Andi Gutmans" <[EMAIL PROTECTED]> wrote in me
Is this function working?
Test program:
$dom = new domDocument();
$dom->load("test.xml");
$node = $dom->getElementById("id1");
print_r($node);
Test file:
It seems to me that always a emty object is returned?
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit
On 9/8/03 5:11 PM, John Huntjens wrote:
Is this function working?
yes.
see:
http://bugs.php.net/bug.php?id=17629
http://bugs.php.net/bug.php?id=16647
for details
chregu
Test program:
$dom = new domDocument();
$dom->load("test.xml");
$node = $dom->getElementById("id1");
print_r($node);
Test f
> > Is this function working?
> yes.
>
> see:
>
> http://bugs.php.net/bug.php?id=17629
> http://bugs.php.net/bug.php?id=16647
>
> for details
I do not understand the workaround?
I am using latest cvs php5
capitalizing the ID's to
gives no result.
Should I define a DTD to find the ID's?
On 9/8/03 5:25 PM, John Huntjens wrote:
Is this function working?
yes.
see:
http://bugs.php.net/bug.php?id=17629
http://bugs.php.net/bug.php?id=16647
for details
I do not understand the workaround?
I am using latest cvs php5
you have to define the ids with a DTD. there are no default
"id"-a
On 9/8/03 5:55 PM, Christian Stocker wrote:
On 9/8/03 5:25 PM, John Huntjens wrote:
or use XPath to access the nodes:
"//@id='id1'"
öööhm ;) this should better be "//[EMAIL PROTECTED]'id1']" AFAIK...
chregu
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: ht
> you have to define the ids with a DTD. there are no default
> "id"-attributes in the XML-specs.
Ahh, that clarify's alot.
> Add:
>
>
> ]>
>
> to your XML document, and it should work.
Thanks for your quick answer, this quireled me al day!
> or use XPath to access the nodes:
> "//@id='id
Hi
I would like to access the PHP script name and line number from within my C
extension. Is there a function that I can call that will give me this
information? I know I can call 'zend_error', but that really doesn't do
what I want.
Thanks in advance,
Bruce
___
Bruce Bailey wrote:
> Hi
>
> I would like to access the PHP script name and line number from within my
> C extension. Is there a function that I can call that will give me this
> information? I know I can call 'zend_error', but that really doesn't do
> what I want.
>
> Thanks in advance,
>
>
I hope that these fixes don't mean that the following is now
on-purpose behavior:
x);
}
}
$b = new bar;
?>
Output:
Notice: Undefined property: bar::$x in ack.php on line 10
NULL
On Wed, 3 Sep 2003, Marcus Börger wrote:
> Hello Zeev,
>
> Friday, August 29, 2003, 10:15:57 AM, you wr
Maintaining and documentation File_Ogg PEAR package.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hello Brad,
funny i checked so many complex errors that i overlooked one of the more
obvious errors. In your script an implicit public property would overwrite
an inherited public one. During class inheritance the default value must now
be copied from parent to child. The copy code however also wo
Did anyone think about it ? Any opinions ?
Cristiano Duarte.
"Cristiano Duarte" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> Hi all,
>
> Is this supposed to work?
>
> interface test {
> function my_function ($mandatory_parameter);
> }
>
> class test_class implements test
14 matches
Mail list logo