Re: [PHP-DEV] Feature-Request - Macros

2006-11-14 Thread Matt Sicker
leasure, if php could support it. > It could shorten a lot of code. > > Mathias This could also help with writing code compatible across different major PHP versions (4, 5, and 6). It could help fuel upgrades so that supporting PHP4 isn't such a hassle in the future. I love the idea (especially the Lisp implementation). -- Matt Sicker pgpZYIgpKZE82.pgp Description: PGP signature

Re: [PHP-DEV] how is a return values stored?

2006-09-26 Thread Matt Sicker
gt; start debugging from any point within my code and i could very easily > create automated test's which can compare the result (what it is and > what it should be) "automated" > > [EMAIL PROTECTED] Oh sweet, something I know! Return values are stored in zval *return_value. That's within any function that follows the Zend format (i.e. ZEND_FUNCTION() macro to declare it, returns value via the RETURN_*() macros). -- Matt Sicker pgpfOUBVgNg0c.pgp Description: PGP signature

[PHP-DEV] Why did Jani quit?

2006-07-28 Thread Matt Sicker
Did I miss something? -- Matt Sicker pgp3FM89DTG8E.pgp Description: PGP signature

Re: [PHP-DEV] Pass by reference (5.1.1 vs 5.1.2)

2006-07-24 Thread Matt Sicker
Either that, or scope; creating a variable inside of a function call probably goes out of scope after the function returns. Enable error_reporting(E_ALL| E_STRICT) and see what happens. -- Matt Sicker pgpe22qtEnE6R.pgp Description: PGP signature

Re: [PHP-DEV] Re: PHP 5.2 Status Update

2006-07-19 Thread Matt Sicker
On Tuesday 18 July 2006 12:25, Derick Rethans wrote: > On Tue, 18 Jul 2006, Matt Sicker wrote: > > Maybe you might not want to include that class until PHP6. Or, how > > about for backwards compatibility, you do prefix the class name > > with PHP, but when namespaces come int

Re: [PHP-DEV] Re: PHP 5.2 Status Update

2006-07-18 Thread Matt Sicker
ent Mailing List > > To unsubscribe, visit: http://www.php.net/unsub.php > > Ilia Alshanetsky It'd be nice to have a php namespace, wouldn't it? ;) Maybe you might not want to include that class until PHP6. Or, how about for backwards compatibility, you do prefix the class name with PHP, but when namespaces come into play, using the php namespace effectively removes the PHP prefix (e.g. PHPDate == php::Date). -- Matt Sicker pgpO8zkIicYU8.pgp Description: PGP signature

[PHP-DEV] Question regarding extension function entries.

2006-06-01 Thread Matt Sicker
According to all documentation I've found, a zend_function_entry[] array should be ended with { NULL, NULL, NULL }, but I've noticed that _zend_function_entry now has five parts; differences: -unsigned char *func_arg_types; +struct _zend_arg_info *arg_info; +zend_uint num_args; +zend_uint flags;