diff options
author | Florian MARGAINE <florian@margaine.com> | 2014-09-20 10:01:44 +0200 |
---|---|---|
committer | Florian MARGAINE <florian@margaine.com> | 2014-09-20 10:01:44 +0200 |
commit | cf0303e7824c3e20e9db240f9d4e4b154cc2a72d (patch) | |
tree | 89aa4aab62b422615a7441552b3a0176b22b2b0d /tests/classes | |
parent | 25f5ba94aca1e89ee5f0c66513e58826afa3b853 (diff) | |
download | php-git-cf0303e7824c3e20e9db240f9d4e4b154cc2a72d.tar.gz |
Replaces php5 with php7, without whitespace changes.
Diffstat (limited to 'tests/classes')
-rw-r--r-- | tests/classes/inheritance_002.phpt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/classes/inheritance_002.phpt b/tests/classes/inheritance_002.phpt index cca528e29c..0b8cf2650e 100644 --- a/tests/classes/inheritance_002.phpt +++ b/tests/classes/inheritance_002.phpt @@ -17,13 +17,13 @@ class Child_php4 extends Base_php4 { } } -class Base_php5 { +class Base_php7 { function __construct() { var_dump('Base constructor'); } } -class Child_php5 extends Base_php5 { +class Child_php7 extends Base_php7 { function __construct() { var_dump('Child constructor'); parent::__construct(); @@ -37,7 +37,7 @@ class Child_mx1 extends Base_php4 { } } -class Child_mx2 extends Base_php5 { +class Child_mx2 extends Base_php7 { function Child_mx2() { var_dump('Child constructor'); parent::__construct(); @@ -47,8 +47,8 @@ class Child_mx2 extends Base_php5 { echo "### PHP 4 style\n"; $c4= new Child_php4(); -echo "### PHP 5 style\n"; -$c5= new Child_php5(); +echo "### PHP 7 style\n"; +$c5= new Child_php7(); echo "### Mixed style 1\n"; $cm= new Child_mx1(); @@ -60,7 +60,7 @@ $cm= new Child_mx2(); ### PHP 4 style string(17) "Child constructor" string(16) "Base constructor" -### PHP 5 style +### PHP 7 style string(17) "Child constructor" string(16) "Base constructor" ### Mixed style 1 |