10-16-2009, 09:37 PM
|
#1 (permalink)
|
|
The Acquainted
Join Date: Apr 2008
Posts: 110
Thanks: 97
|
Do proliferation of PHP tags affect speed?
Are scripts that have lots of <?PHP..?> tags taking hits on execution speed, or does this actually enhance speed? Or, on the other hand, does it have no effect?
Example from book:
PHP Code:
<?php
// ... some PHP here...
?>
<html>
<head>
<?php
// admin page
require_once('db_login') ;
?>
<title>
<?php
// print the window title and the topmost body heading
$doc_title = "Category Administration" ;
echo "$doc_title\n" ;
?>
</title>
</head>
<body>
<h1>
<?php
echo "$doc_title\n" ;
?>
</h1>
|
|
|
|