[PHP-DEV] Dynamic class constants

2004-10-03 Thread Marcus Boerger
Hello internals, this patch allows to access class constants by objects. If noone objects i'll commit it on tuesday. Example: class Test { const Foo = 'Bar'; } $obj = new Test; var_dump($obj::Foo); -- Best regards, MarcusIndex: Zend/zend_language_parser.y =

Re: [PHP-DEV] any chance for feature in soap extension?

2004-10-03 Thread Robert Janeczek
> Take a look at ob_start(),ob_get_contents() and ob_end_clean() > functions. These make it possible to capture the output. > To call a webservice handle from a not HTTP request you can manually > set the $HTTP_RAW_POST_DATA var with the contents of a mail or any > other communication protocol. th

Re: [PHP-DEV] PHP (anti) crash policy?

2004-10-03 Thread Olaf van der Spek
Derick Rethans wrote: On Sun, 3 Oct 2004, Olaf van der Spek wrote: Derick Rethans wrote: On Sun, 3 Oct 2004, Olaf van der Spek wrote: What is the PHP policy regaring crashes and fatal errors? Are scripts allowed to cause a crash or fatal error of Apache/PHP itself? Only on a stack overflow, as in

Re: [PHP-DEV] PHP (anti) crash policy?

2004-10-03 Thread Derick Rethans
On Sun, 3 Oct 2004, Olaf van der Spek wrote: > Derick Rethans wrote: > > On Sun, 3 Oct 2004, Olaf van der Spek wrote: > > > >>What is the PHP policy regaring crashes and fatal errors? > >>Are scripts allowed to cause a crash or fatal error of Apache/PHP itself? > > > > Only on a stack overflow, as

Re: [PHP-DEV] PHP (anti) crash policy?

2004-10-03 Thread Olaf van der Spek
Derick Rethans wrote: On Sun, 3 Oct 2004, Olaf van der Spek wrote: What is the PHP policy regaring crashes and fatal errors? Are scripts allowed to cause a crash or fatal error of Apache/PHP itself? Only on a stack overflow, as in: What about out of memory conditions (in for example gzinflate)? --

Re: [PHP-DEV] PHP (anti) crash policy?

2004-10-03 Thread Olaf van der Spek
Derick Rethans wrote: On Sun, 3 Oct 2004, Olaf van der Spek wrote: What is the PHP policy regaring crashes and fatal errors? Are scripts allowed to cause a crash or fatal error of Apache/PHP itself? Only on a stack overflow, as in: Are there any plans to fix/improve this situation? Isn't it possibl

Re: [PHP-DEV] PHP (anti) crash policy?

2004-10-03 Thread Derick Rethans
On Sun, 3 Oct 2004, Olaf van der Spek wrote: > What is the PHP policy regaring crashes and fatal errors? > Are scripts allowed to cause a crash or fatal error of Apache/PHP itself? Only on a stack overflow, as in: function a() { a(); } a(); Derick -- Derick Rethans http://derickrethans.nl | h

Re: [PHP-DEV] any chance for feature in soap extension?

2004-10-03 Thread D . Kingma
Citeren Robert Janeczek <[EMAIL PROTECTED]>: > what are the chances that soap extension will have the (optional) ability to > return output from SoapServer::handle instead of echo`ing it with http > headers? current version makes it impossible to create soap server other > than httpd-based (even m

[PHP-DEV] PHP (anti) crash policy?

2004-10-03 Thread Olaf van der Spek
Hi, What is the PHP policy regaring crashes and fatal errors? Are scripts allowed to cause a crash or fatal error of Apache/PHP itself? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] any chance for feature in soap extension?

2004-10-03 Thread Robert Janeczek
what are the chances that soap extension will have the (optional) ability to return output from SoapServer::handle instead of echo`ing it with http headers? current version makes it impossible to create soap server other than httpd-based (even more - it`s impossible to create server for not httpd-l

Re: [PHP-DEV] php_win.exe crashes when in a directory with spaces

2004-10-03 Thread Steph
Hi Rubem, Please could you re-post your mail to either [EMAIL PROTECTED] or [EMAIL PROTECTED] This discussion does not belong on the core PHP internals list. - Steph - Original Message - From: "Rubem Pechansky" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 30, 2

Re: [PHP-DEV] mysql_connect('localhost') should use tcp/ip instead of socket

2004-10-03 Thread Andrey Hristov
Roland Tapken wrote: Hi! When using 'localhost' in mysql_connect(), php tries to use a socket to connect to the mysql daemon. Is there a way to force php to resolve the hostname of localhost, maybe by patching some source file? The reason is that a socket is not avaible because mysql and apache are