English 中文(简体)
关闭和开放“The php tag [duplicate]
原标题:Closing and opening the php tag [duplicate]
This question already has answers here:
Closed 12 years ago.

Possible Duplicate:
PHP: Opening/closing tags & performance?

这可能是一个棘手的问题,但我认为我只要求治疗:

开放和关闭“工厂”的标签是否存在问题?

我指的是,在使用这一方法时,是否有结果。

<?php
    $track_id = 418; //default
?>

<?php include( includes/popup_biography.php ); ?>  

而不是:

<?php
    $track_id = 418; //default
    include( includes/popup_biography.php );
?> 
最佳回答

我不知道任何业绩问题。 由于两份声明之间的内容已经排出,可能会出现一个非常小的履约问题,但我认为这是不可能的。

然而,由于不同的原因,你不应脱离实验室:这一排放使你无法按照你的要求派出任何其他负责人。 我认为,打破实验室印刷是一种过时的概念,应当完全避免。 如果你要这样做,就会保留它来印刷你的逻辑结果(在任何印刷之前都做了很长的时间,很可能在不同的档案中)。

问题回答

查询 PHP: open/closing tags & Performance?

业绩差异如此之少,你竟然对此表示不满。





相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签