|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-11-27 01:16 UTC] cnewbill@php.net
[2001-11-27 02:17 UTC] poolshark at bmcc dot com dot cn
[2001-11-27 04:08 UTC] derick@php.net
[2001-11-27 04:11 UTC] cnewbill@php.net
[2001-11-28 20:17 UTC] poolshark at bmcc dot com dot cn
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 22:00:01 2025 UTC |
Here is a short test program : <? #test.php of integer operation by / $total=13; printf ("total %d type %s<BR>",$total,gettype($total)); $each=10; printf ("each %d type %s<BR>",$each,gettype($each)); $page=$total/$each; print ("Page is $page"); ?> The output is 1.3 not as the expect 1 ----------------------------- configure command ./configure --with-apache=/home/zlq/bin/apache_1.3.22 --with-mysql=/mysql --with-xml --with-charset=gb2312 --disable-debug --enable-ftp ------------------------------- INIT_VERSION :sysinit-2.78 HOSTTYPE:i386