[PHP-DEV] php interpreter

2012-05-09 Thread Xin Tong
Hello I am new to php runtime. i am doing some research on runtime interpreter. can anyone please tell me where the interpreter of the php runtime is ? which file ? and does the php runtime has a JIT compiler ? Thanks -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit

[PHP-DEV] [RFC] Custom Casting

2012-05-09 Thread Seva Lapsha
Hello All, Please be kind to review and comment my proposal for custom casting in PHP (or let me know if a similar proposal was already discussed). http://pastebin.com/sPb0i8U6 IMHO, it's more simple and on the other hand more flexible than proposed in: https://wiki.php.net/rfc/object_cast_to_t

Re: [PHP-DEV] [off] PHP: a fractal of bad design

2012-05-09 Thread Joe Gillotti
Nothing's stopping you from using === for integer comparison or validating your integer string using either ctype_digit() or is_numeric() before comparing it. (The difference between these two functions is is_numeric() allows for decimal points) On 05/07/2012 09:25 PM, Raymond Irving wrote: I