View Single Post
Old 10-16-2009, 09:37 PM   #1 (permalink)
Dave
The Acquainted
 
Dave's Avatar
 
Join Date: Apr 2008
Posts: 110
Thanks: 97
Dave is on a distinguished road
Default 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>
Dave is offline  
Reply With Quote