summaryrefslogtreecommitdiff
path: root/ext/opcache/tests/bug66338.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/opcache/tests/bug66338.phpt')
-rw-r--r--ext/opcache/tests/bug66338.phpt20
1 files changed, 10 insertions, 10 deletions
diff --git a/ext/opcache/tests/bug66338.phpt b/ext/opcache/tests/bug66338.phpt
index 40f5634465..1473481561 100644
--- a/ext/opcache/tests/bug66338.phpt
+++ b/ext/opcache/tests/bug66338.phpt
@@ -12,20 +12,20 @@ $root = str_replace('.php', "", __FILE__);
$base = basename( $root );
file_put_contents( "$root-Officials.inc", '<?php
- class Officials { static function getLeader() { return LocalTerms::GOV_LEADER; } }
- ' );
+ class Officials { static function getLeader() { return LocalTerms::GOV_LEADER; } }
+ ' );
file_put_contents( "$root-clientUS.php", '<?php
- class LocalTerms { const GOV_LEADER = "Barack Hussein Obama II"; }
- require \''.$root.'-Officials.inc\';
- printf( "The President of the USA is %s\n", Officials::getLeader() );
- ' );
+ class LocalTerms { const GOV_LEADER = "Barack Hussein Obama II"; }
+ require \''.$root.'-Officials.inc\';
+ printf( "The President of the USA is %s\n", Officials::getLeader() );
+ ' );
file_put_contents( "$root-clientUK.php", '<?php
- class LocalTerms { const GOV_LEADER = "David William Donald Cameron"; }
- require \''.$root.'-Officials.inc\';
- printf( "The Prime Minister of the UK is %s\n", Officials::getLeader() );
- ' );
+ class LocalTerms { const GOV_LEADER = "David William Donald Cameron"; }
+ require \''.$root.'-Officials.inc\';
+ printf( "The Prime Minister of the UK is %s\n", Officials::getLeader() );
+ ' );
include "php_cli_server.inc";
$uri = sprintf("http://%s/%s", PHP_CLI_SERVER_ADDRESS, basename(__FILE__));