note 32379 added to language.variables
| From: | oxis at s0dge dot org | Date: | Mon, 26 May 2003 09:28:24 +0000 |
| Subject: | note 32379 added to language.variables | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-49021@lists.php.net to get a copy of this message | ||
I tested the initialisation of variables. By wrinting values into a variable which is NOT
initialised, the script runs longer.
Initialiesed all variables correct(int, double ...), the measured-script-runtime was shorter. Not
much .. but it was (something about 0.001 sec per variable). By initialising object attributs, the
time effect was bigger. Got these time dates with microtime(). Have someone other notice this effect
?
I use PHP Version 4.3.1. Tested on Windows and Linux. Same effect. oXis
----
Manual Page -- http://www.php.net/manual/en/language.variables.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32379
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32379&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32379&report=yes