1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-05 06:17:36 +02:00

Clarify includes and open tags.

If it's not PHP, it doesn't need the open tag.
This commit is contained in:
Malcolm Fell
2013-06-30 15:52:45 +12:00
parent db04a0c728
commit c3df7c1c53

View File

@@ -379,7 +379,7 @@ echo $function_name(1, 2); // => 3
``` ```
```php ```php
<?php <?php
// Included files must also begin with a PHP open tags. // PHP within included files must also begin with a PHP open tag.
include 'my-file.php'; include 'my-file.php';
// The code in my-file.php is now available in the current scope. // The code in my-file.php is now available in the current scope.