Re: [PHP-DEV] PCRE 5.0 on PHP 5.1?

2005-05-27 Thread Hendy Irawan
Yeeehaaa Now that's soo rocking!! :D Thanks Andrei! On 5/28/05, Andrei Zmievski [EMAIL PROTECTED] wrote: I've upgraded all branches to PCRE 5.0. -Andrei On Apr 18, 2005, at 1:37 PM, Hendy Irawan wrote: I remember posting a bug report to recommend using the new PCRE (new

Re: [PHP-DEV] Re: Attributes support proposal

2005-04-25 Thread Hendy Irawan
purposes. -- Hendy Irawan http://www.gauldong.net http://dev.gauldong.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] How to configure a stable PHP 5.0.4?

2005-04-22 Thread Hendy Irawan
anything... which I take that PHP crashes even before it can spit out any error... :-( Would anyone give their good ./configure line? I also want to know if I am supposed to turn thread safety on or off? Thanks for the help. -- Hendy Irawan http://www.gauldong.net http://dev.gauldong.net -- PHP

Re: [PHP-DEV] Attributes support proposal

2005-04-18 Thread Hendy Irawan
up Ruby!!! ;-) -- Hendy Irawan http://www.gauldong.net http://dev.gauldong.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Attributes support proposal

2005-04-18 Thread Hendy Irawan
uses attributes for aspect oriented programming stuff Speaking of AOP, I wonder if AOP features will ever be possible in PHP (I guess this deserves another thread, maybe I'll have to search archives first...) -- Hendy Irawan http://www.gauldong.net http://dev.gauldong.net -- PHP Internals - PHP

Re: [PHP-DEV] Attributes support proposal

2005-04-18 Thread Hendy Irawan
, Perl, ...) much the same way as most things you can do using OOP is doable using pure procedural. -- Hendy Irawan http://www.gauldong.net http://dev.gauldong.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] named parameters?

2005-04-18 Thread Hendy Irawan
;-) -- Hendy Irawan http://www.gauldong.net http://dev.gauldong.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] mixed up PHP variant (Re: [PHP-DEV] named parameters?)

2005-04-18 Thread Hendy Irawan
On 4/18/05, Robert Cummings [EMAIL PROTECTED] wrote: On Mon, 2005-04-18 at 12:40, Hendy Irawan wrote: Does anybody want named parameters? These are handy as template functions (like in Smarty), and these are achievable since the oldest PHP by using associative arrays. It's purely

[PHP-DEV] == and ===

2005-04-18 Thread Hendy Irawan
', since people would be able to use '' (yes, empty string!) to hack your app. -- Hendy Irawan http://www.gauldong.net http://dev.gauldong.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: == and ===

2005-04-18 Thread Hendy Irawan
) ?php echo '0' == (int)'adasd' ? 1 That confuses me more (but understandable, and thank God PHP behave this way)... I thought 'asdasd' is 0 when [implicitly] converted to int [for comparison]? I guess I never knew PHP well :-( -- Hendy Irawan http://www.gauldong.net http://dev.gauldong.net

Re: [PHP-DEV] Re: == and ===

2005-04-18 Thread Hendy Irawan
(this is expected, although for the $password case, it can lead to security holes). More niceties: ?php echo null == 0 ? 1 ?php echo null == '' ? 1 ?php echo null == '0' ? (false) Programming in PHP can be a lot of fun! ;-) -- Hendy Irawan http://www.gauldong.net http://dev.gauldong.net -- PHP

[PHP-DEV] PCRE 5.0 on PHP 5.1?

2005-04-18 Thread Hendy Irawan
posted this on the wrong list) -- Hendy Irawan http://www.gauldong.net http://dev.gauldong.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php