diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-04-24 15:12:46 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-04-24 15:12:46 +0200 |
commit | 2f9559736080f8386fec1bb5a1d99bd9855e2a4d (patch) | |
tree | 75eaafe03060ea24179bd4bada0d729b2996be00 /user_guide/libraries/benchmark.html | |
parent | 7c53be42a74b103774729281aef09ad505f3b611 (diff) |
changed guide examples to not use ?=, and instead use ?php echo
Diffstat (limited to 'user_guide/libraries/benchmark.html')
-rw-r--r-- | user_guide/libraries/benchmark.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide/libraries/benchmark.html b/user_guide/libraries/benchmark.html index 4afa58bc3..177bbc7ba 100644 --- a/user_guide/libraries/benchmark.html +++ b/user_guide/libraries/benchmark.html @@ -151,7 +151,7 @@ $this->benchmark->mark('another_mark<kbd>_end</kbd>'); <p>If you would like to display the total elapsed time from the moment CodeIgniter starts to the moment the final output
is sent to the browser, simply place this in one of your view templates:</p>
-<code><?=$this->benchmark->elapsed_time();?></code>
+<code><?php echo $this->benchmark->elapsed_time();?></code>
<p>You'll notice that it's the same function used in the examples above to calculate the time between two point, except you are
<strong>not</strong> using any parameters. When the parameters are absent, CodeIgniter does not stop the benchmark until right before the final
@@ -169,7 +169,7 @@ functions you must set your own start/end points.</p> <p>If your PHP installation is configured with --enable-memory-limit, you can display the amount of memory consumed by the entire
system using the following code in one of your view file:</p>
-<code><?=$this->benchmark->memory_usage();?></code>
+<code><?php echo $this->benchmark->memory_usage();?></code>
<p>Note: This function can only be used in your view files. The consumption will reflect the total memory used by the entire app.</p>
<p>An alternate way to show your memory usage in your view files is to use this pseudo-variable, if you prefer not to use the pure PHP:</p>
|