Skip to content

Commit e2bd32c

Browse files
committed
Zend: Remove dead code from clone tests
1 parent 0acfc73 commit e2bd32c

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

Zend/tests/clone/bug36071.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ error_reporting=4095
66
<?php
77
try {
88
$a = clone 0;
9-
$a[0]->b = 0;
109
} catch (Error $e) {
1110
echo $e::class, ": ", $e->getMessage(), PHP_EOL;
1211
}

Zend/tests/clone/bug42817.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ Bug #42817 (clone() on a non-object does not result in a fatal error)
44
<?php
55
try {
66
$a = clone(null);
7-
array_push($a->b, $c);
87
} catch (Error $e) {
98
echo $e::class, ": ", $e->getMessage(), PHP_EOL;
109
}

0 commit comments

Comments
 (0)