[PHP-DEV] Change default serialize precision from 100 to 17

2011-02-07 Thread Gustavo Lopes
The default serialize precision is currently [1] set at 100. A little code inspection shows precision, in this case, takes the usual meaning of number of significant digits. Given that the implicit precision of a (normal) IEEE 754 double precision number is slightly less than 16 digits [2],

Re: [PHP-DEV] A quick consensus on magic method idea

2011-02-07 Thread Stan Vass
This creates problems for opcode caches since the classes are all precompiled and usually optimized to the point where the opcodes that loads them are NOP'ed away and you just have the full class table cached in memory for each op_array. Walking through that class table on every request and loo