回答編集履歴
1
typo
answer
CHANGED
@@ -3,9 +3,9 @@
|
|
3
3
|
```PHP
|
4
4
|
<?php
|
5
5
|
$path="Hoge.php";
|
6
|
-
if (!file_exists($path)) die("not
|
6
|
+
if (!file_exists($path)) die("not exists file");
|
7
7
|
require_once $path;
|
8
|
-
if (!class_exists('Hoge')) die("not
|
8
|
+
if (!class_exists('Hoge')) die("not exists class");
|
9
9
|
class SpecialHoge extends Hoge{
|
10
10
|
function foo(){
|
11
11
|
$this->Hoge();
|