Warning: preg_replace(): Compilation failed: missing terminating ] for character class at offset 8 in %s002.php on line 11
NULL
-Parse error: %s, unexpected T_FOR in %s002.php(12) : regexp code on line 1
+Parse error: %s in %s002.php(12) : regexp code on line 1
Fatal error: preg_replace(): Failed evaluating code:
for ($ in %s002.php on line 12
*decpt = 0;
c = *p;
zend_freedtoa(p);
- return(c == 'I' ? "inf" : "nan");
+ return(c == 'I' ? "INF" : "NAN");
}
/* Make a local copy and adjust rve to be in terms of s */
if (pad && fmode)
* We assume the buffer is at least ndigit long.
*/
snprintf(buf, ndigit + 1, "%s%s", sign ? "-" : "",
- *digits == 'I' ? "inf" : "nan");
+ *digits == 'I' ? "INF" : "NAN");
zend_freedtoa(digits);
return (buf);
}
}
if (zend_isnan(fp_num)) {
- s = "nan";
+ s = "NAN";
s_len = 3;
} else if (zend_isinf(fp_num)) {
- s = "inf";
+ s = "INF";
s_len = 3;
} else {
#ifdef HAVE_LOCALE_H