|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-06-09 15:20 UTC] andi at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 18:00:02 2025 UTC |
I noticed something strange: $test = pi(); print("test: $test " . gettype($test)); gives me "test: 3.1415926535898 double" with PHP3 and "test: 3,1415926535898 double" with PHP4.0.0. Is this a new feature? or a bug? This is a problem since "$test = 0.5" will now assign "0" to $test with PHP4. Here is my configure line: './configure' '--with-mysql' '--with-xml' '--with-apache=../apache_1.3.12' '--enable-track-vars' Regards, Ronnie.