Re: [PHP-DEV] Changes between 5.1.1 & 5.1.2-dev breaks PHP - Smarty plugin

2005-12-16 Thread boots
--- Michael Wallner <[EMAIL PROTECTED]> wrote: > boots wrote: > > Hi. It seems to me that Smarty is not at fault. For example, one of the > > reported issues is: > > > >>> $arg_list = $this->_compile_arg_list('block', $tag_command, $attrs, > >>> $_cache_attrs=''); > > > > Which calls: > > > >

Re: [PHP-DEV] Changes between 5.1.1 & 5.1.2-dev breaks PHP - Smarty plugin

2005-12-16 Thread Michael Wallner
boots wrote: Hi. It seems to me that Smarty is not at fault. For example, one of the reported issues is: $arg_list = $this->_compile_arg_list('block', $tag_command, $attrs, $_cache_attrs=''); Which calls: function _compile_arg_list($type, $name, $attrs, &$cache_code) { Yet is apparently

Re: [PHP-DEV] Changes between 5.1.1 & 5.1.2-dev breaks PHP - Smarty plugin

2005-12-16 Thread boots
Hi. It seems to me that Smarty is not at fault. For example, one of the reported issues is: > > $arg_list = $this->_compile_arg_list('block', $tag_command, $attrs, > > $_cache_attrs=''); Which calls: function _compile_arg_list($type, $name, $attrs, &$cache_code) { Yet is apparently generati

Re: [PHP-DEV] exceptions in the destructor

2005-12-16 Thread Marcus Boerger
Hello Daine, [EMAIL PROTECTED] /usr/src/PHP_5_1 $ php -r 'class A{function __destruct(){throw new Exception("A");}} new A;' make: `sapi/cli/php' is up to date. Fatal error: Uncaught exception 'Exception' with message 'A' in Command line code:1 Stack trace: #0 Command line code(1): A::__destruct

Re: [PHP-DEV] Changes between 5.1.1 & 5.1.2-dev breaks PHP - Smartyplugin

2005-12-16 Thread Holografix
Hi I've been in IRC #smarty channel and this is what i've got: you are using a dev-version off php on bother us with moronic userland bugs? bye. I just switch php versions from 5.1.1 to 5.1.2-dev and stop/start apache (windows). The php.ini and the extensions loaded are the same. The script, t

Re: [PHP-DEV] Stream Buckets

2005-12-16 Thread Sara Golemon
Yep. And I willsomeday Prolly ought to just register it as a feature request and assign it to me. -Sara - Original Message - From: "Jani Taskinen" <[EMAIL PROTECTED]> Newsgroups: php.internals To: "Jakub Vrána" <[EMAIL PROTECTED]> Cc: Sent: Friday, December 16, 2005 9:54 AM Su

Re: [PHP-DEV] Changes between 5.1.1 & 5.1.2-dev breaks PHP - Smarty plugin

2005-12-16 Thread Jani Taskinen
I think it was just change of E_NOTICE to E_STRICT? :) --Jani On Fri, 16 Dec 2005, Holografix wrote: Hello This works fine with 5.1.1 PHP include '/wwwroot/lib/smarty/Smarty.class.php'; $tpl = new Smarty; $tpl->plugins_dir = array('/wwwroot/lib/smarty/plugins', '/wwwroot/home/tes

Re: [PHP-DEV] Stream Buckets

2005-12-16 Thread Jani Taskinen
ah..these..Sara promised to get rid of them and come up with better and simpler API..more in the PHP way of doing things. IIRC. :) --Jani On Fri, 16 Dec 2005, Jakub Vrána wrote: Hello! I want to document stream bucket functions but can't find any information about it. Can som

[PHP-DEV] CVS Account Request: nadir

2005-12-16 Thread Nadir Qasimov
Translating the documentation -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Changes between 5.1.1 & 5.1.2-dev breaks PHP - Smarty plugin

2005-12-16 Thread Antony Dovgal
Please report this to [EMAIL PROTECTED] On 16.12.2005 20:12, Holografix wrote: Hello This works fine with 5.1.1 PHP include '/wwwroot/lib/smarty/Smarty.class.php'; $tpl = new Smarty; $tpl->plugins_dir = array('/wwwroot/lib/smarty/plugins', '/wwwroot/home/testes/plugins'); $tpl->force_compil

[PHP-DEV] Changes between 5.1.1 & 5.1.2-dev breaks PHP - Smarty plugin

2005-12-16 Thread Holografix
Hello This works fine with 5.1.1 PHP include '/wwwroot/lib/smarty/Smarty.class.php'; $tpl = new Smarty; $tpl->plugins_dir = array('/wwwroot/lib/smarty/plugins', '/wwwroot/home/testes/plugins'); $tpl->force_compile = true; $link = mysql_connect('localhost', 'x', 'y'); mysql_select_db('d

Re: [PHP-DEV] Stream Buckets

2005-12-16 Thread Hannes Magnusson
php.net/stream_filter_register mention something about buckets. On 12/16/05, Jakub Vrána <[EMAIL PROTECTED]> wrote: > Hello! > > I want to document stream bucket functions but can't find any > information about it. Can someone please point me to the right place > or tell me something about it? > >

[PHP-DEV] Stream Buckets

2005-12-16 Thread Jakub Vrána
Hello! I want to document stream bucket functions but can't find any information about it. Can someone please point me to the right place or tell me something about it? stream_bucket_make_writeable stream_bucket_prepend stream_bucket_append stream_bucket_new Jakub Vrána -- PHP Internals - PHP R

Re: [PHP-DEV] RFE for future Apache integration

2005-12-16 Thread Sebastian Nohn
Ron Korving wrote: I think it's very much worth fixing. More and more people use packaging systems (emerge, dpkg, ...) which don't allow for what you propose. Not everybody compiles their Apache and PHP themselves. It would be very userfriendly if something like the solution suggested by techt

Re: [PHP-DEV] RFE for future Apache integration

2005-12-16 Thread Ron Korving
I think it's very much worth fixing. More and more people use packaging systems (emerge, dpkg, ...) which don't allow for what you propose. Not everybody compiles their Apache and PHP themselves. It would be very userfriendly if something like the solution suggested by techtonik would be possib

[PHP-DEV] exceptions in the destructor

2005-12-16 Thread Daine Mamacos
Is there any reason why one is not allowed to throw an exception in the destructor of a class? I mean, it makes sense, considering this is not always the final step of code, and it is usually used for finalising things, and it would be a good idea to know if anything goes wrong at that stage. Other

Re: [PHP-DEV] RFE for future Apache integration

2005-12-16 Thread Jani Taskinen
To reliably run 2 PHP version, use separate apache instances. And --enable-versioning itself breaks a lot of stuff. Short version: It's not worth it to try "fix" this. Very short version: "Wont fix" --Jani On Fri, 16 Dec 2005, techtonik wrote: Hello, PHP. While it is n

[PHP-DEV] RFE for future Apache integration

2005-12-16 Thread techtonik
Hello, PHP. While it is not too late, cat I ask for one enhancement for PHP6 integration with Apache2, which was omitten in PHP5 architecture. Use the same Apache server instance with PHP4 and PHP5 modules. It is ok to link modules with LoadModule php4_module "../php4/sapi/php4apache2.dll" LoadM

Re: [PHP-DEV] Re: why is '01' == '1.'?

2005-12-16 Thread Bart de Boer
Sönke Ruempler wrote: Bart de Boer wrote on Friday, December 16, 2005 10:19 AM: ...until they are supported by the major browsers. Maybe never if M$ tries to push InfoPath ;-( Although I'm sure we'll find a way to use, whatever technology Microsoft thinks of,

RE: [PHP-DEV] Re: why is '01' == '1.'?

2005-12-16 Thread Sönke Ruempler
Bart de Boer wrote on Friday, December 16, 2005 10:19 AM: > ...until they are supported by the major browsers. Maybe never if M$ tries to push InfoPath ;-( -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: why is '01' == '1.'?

2005-12-16 Thread Bart de Boer
...until they are supported by the major browsers. Ilia Alshanetsky wrote: Bart de Boer wrote: However, XForms will have numeric datatypes. :| http://www.w3.org/TR/2003/REC-xforms-20031014/slice5.html And no one in their right mind uses them. Ilia