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
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
Did I miss something?
--
Matt Sicker
pgp3FM89DTG8E.pgp
Description: PGP signature
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
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
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
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;