summaryrefslogtreecommitdiff
path: root/ext/opcache/tests/bug74596.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/opcache/tests/bug74596.phpt')
-rw-r--r--ext/opcache/tests/bug74596.phpt32
1 files changed, 16 insertions, 16 deletions
diff --git a/ext/opcache/tests/bug74596.phpt b/ext/opcache/tests/bug74596.phpt
index ed1c1b4504..8a1dc17189 100644
--- a/ext/opcache/tests/bug74596.phpt
+++ b/ext/opcache/tests/bug74596.phpt
@@ -15,14 +15,14 @@ opcache.revalidate_path=1
file_put_contents(__DIR__ . "/bug74596_1.php", <<<CODE
<?php
class A {
- public function __construct() {
- \$a = true;
- if (\$a) {
- echo 1 + 2;
- } else {
- echo 2 + 3;
- }
- }
+ public function __construct() {
+ \$a = true;
+ if (\$a) {
+ echo 1 + 2;
+ } else {
+ echo 2 + 3;
+ }
+ }
}
?>
CODE
@@ -32,14 +32,14 @@ file_put_contents(__DIR__ . "/bug74596_2.php", "ok\n");
class ufilter extends php_user_filter
{
- function filter($in, $out, &$consumed, $closing)
- {
- include_once __DIR__ . "/bug74596_1.php";
- while ($bucket = stream_bucket_make_writeable($in)) {
- stream_bucket_append($out, $bucket);
- }
- return PSFS_PASS_ON;
- }
+ function filter($in, $out, &$consumed, $closing)
+ {
+ include_once __DIR__ . "/bug74596_1.php";
+ while ($bucket = stream_bucket_make_writeable($in)) {
+ stream_bucket_append($out, $bucket);
+ }
+ return PSFS_PASS_ON;
+ }
}
stream_filter_register("ufilter", "ufilter");