[PHP-DEV] MacOS X issue with php extensions

2007-03-13 Thread Marco Bambini
on so I am quite sure that the issue has something to do with the way the linker is invoked. I think I need a way to tell gcc to weak link the final dylib plugin or something similar... Your help is really appreciate... Thanks a lot, Marco Bambini -- PHP Internals - PHP Runtime Developme

[PHP-DEV] Issue developing a PHP extension on MacOS X

2006-07-30 Thread Marco Bambini
rks fine without any error. The dylib is generated with the following parameters to gcc: -dynamic -flat_namespace -bundle -undefined suppress I tried also to modify these flags to: -dynamic -twolevel_namespace -bundle -bundle_loader /usr/bin/php but nothing changed. Please help. --- Thanks

[PHP-DEV] Strange issue from command line

2006-01-26 Thread Marco Bambini
sr/lib/php/extensions/no-debug-non-zts-20020429/ rsql.dylib Expected in: flat namespace Trace/BPT trap Why I receive a "Symbol not found: _zend_register_list_destructors_ex" error? Any help? Thanks a lot, Marco Bambini Italy -- PHP Internals - PHP Runtime Development

[PHP-DEV] Correct use of zend_list_delete

2005-11-09 Thread Marco Bambini
ct isn't really deleted from the zend_list. I really appreciate any help for my issue... Thanks a lot, Marco Bambini -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Access raw buffer (for binary data)

2005-10-31 Thread Marco Bambini
Thanks a lot Rasmus, I have just (wrongly) assumed that the convert_to_string function tries to search for the 0 termination character. Thanks, Marco Bambini On Nov 1, 2005, at 1:35 AM, Rasmus Lerdorf wrote: Marco Bambini wrote: I am developing a PHP plugin using PHP 4.4 SDK (not 5) and I

[PHP-DEV] Access raw buffer (for binary data)

2005-10-31 Thread Marco Bambini
I can't use the convert_to_string function because my parameters is binary data but I wonder what I can use in this case, I need the raw char * pointer and not a C string... Thanks for you reply, Marco Bambini -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

[PHP-DEV] Runtime check...

2005-10-27 Thread Marco Bambini
PHP_MINIT_FUNCTION) if php has been compiled with zlib support so I can gracefully reports a WARNING... Thanks, Marco Bambini -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Square brackets tags

2004-10-15 Thread Marco Bambini
because these commands needs to be remapped with a "web oriented" language. Is it technically possible to remap these square brackets tags to php? And if yes, what is the best way? A custom template system or a C PHP extension? Thanks a lot. Best regards, Marco Bambini Italy -- PHP Inter