diff -Naur phpext.c.orig phpext.c
old
|
new
|
|
21 | 21 | static double zero() { return 0.0; } |
22 | 22 | static double one() { return 1.0; } |
23 | 23 | static double inf() { return one() / zero(); } |
24 | | static double nan() { return zero() / zero(); } |
| 24 | static double nanphp() { return zero() / zero(); } |
25 | 25 | |
26 | 26 | /* {{{ syck_functions[] |
27 | 27 | * |
… |
… |
|
220 | 220 | } |
221 | 221 | else if ( strcmp( n->type_id, "float#nan" ) == 0 ) |
222 | 222 | { |
223 | | ZVAL_DOUBLE( o, nan() ); |
| 223 | ZVAL_DOUBLE( o, nanphp() ); |
224 | 224 | } |
225 | 225 | else if ( strcmp( n->type_id, "float#inf" ) == 0 ) |
226 | 226 | { |