Глава 36: пространство имен

This commit is contained in:
Igor Simdyanov
2022-05-27 21:28:32 +03:00
parent bcef05e76b
commit 8b99b51ec8
18 changed files with 251 additions and 0 deletions

7
namespace/wrong.php Normal file
View File

@ -0,0 +1,7 @@
<?php
require_once(__DIR__ . '/PHP8/seo.php');
require_once(__DIR__ . '/PHP8/tag.php');
require_once(__DIR__ . '/PHP8/page.php');
$page = new PHP8\Page('О нас', 'Содержимое страницы');
$page->tags(); // Tag::tags