Re: [PHP-DEV] [PATCH] Making in_array a language operator

2011-11-13 Thread Antoine Delignat-Lavaud
instead of strlen($string) or $array->in_array($x) ($array->in($x)) instead of in_array($x,$array), right? That seems like a step in the right direction, with no change to the syntax required. I'll try to see if I can make an implementation of this but I fear it might be a bit more c

[PHP-DEV] [PATCH] Making in_array a language operator

2011-11-12 Thread Antoine Delignat-Lavaud
it's not Perl, alright), I hope you will still consider this proposal for a future version of PHP. With Regards, Antoine Delignat-Lavaud Index: zend_vm_opcodes.h === --- zend_vm_opcodes.h (revision 319106) +++ zend_vm_opcod

Re: [PHP-DEV] Workaround for bug #15797 (inconsistent errorbehaviour with GD)

2003-03-21 Thread Antoine
HP version is badly coded and forbids us to do a runtime check for these functions... Thank you for your answer, Regards Antoine. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Workaround for bug #15797 (inconsistent error behaviour with GD)

2003-03-21 Thread Antoine
& GD versions. Unfortunately the fact that a fatal error is yielded when calling imagecreatetruecolor with the wrong GD version makes it seemingly impossible. Does anybody have an answer to this ? (note : another bug seems identical : http://bugs.php.net/bug.php?id=16002) Thanks Antoine.