$tests = <<<TESTS
\$blaat === \$blaat2
TESTS;
-
- include('tests/quicktester.inc');
+ include(dirname(__FILE__) . '/../../../tests/quicktester.inc');
--EXPECT--
OK
}
?>
--INI--
-sendmail_path=cat
+sendmail_path=/usr/cat
--FILE--
<?php
$to = 'example@example.com';
}
?>
--INI--
-sendmail_path=cat
+sendmail_path=/bin/cat
--FILE--
<?php
$to = 'example@example.com';
}
?>
--INI--
-sendmail_path=cat
+sendmail_path=/bin/cat
--FILE--
<?php
$to = 'example@example.com';
}
?>
--INI--
-sendmail_path=cat
+sendmail_path=/bin/cat
--FILE--
<?php
$to = 'example@example.com';
--FILE--
<?php
-include "ext/standard/tests/aggregation/aggregate.lib";
+include dirname(__FILE__) . "/aggregate.lib";
$obj = new simple();
aggregate($obj, 'helper');
--GET--
--FILE--
<?php
-include "ext/standard/tests/aggregation/aggregate.lib";
+include dirname(__FILE__) . "/aggregate.lib";
$obj = new simple();
aggregate_methods($obj, 'mixin');
--GET--
--FILE--
<?php
-include "ext/standard/tests/aggregation/aggregate.lib";
+include dirname(__FILE__) . "/aggregate.lib";
$obj = new simple();
aggregate_methods_by_list($obj, 'helper', array('just_another_method'));
--GET--
--FILE--
<?php
-include "ext/standard/tests/aggregation/aggregate.lib";
+include dirname(__FILE__) . "/aggregate.lib";
$obj = new simple();
aggregate_methods_by_regexp($obj, 'helper', '/^do/');
--GET--
--FILE--
<?php
-include "ext/standard/tests/aggregation/aggregate.lib";
+include dirname(__FILE__) . "/aggregate.lib";
$obj = new simple();
aggregate_properties($obj, 'mixin');
--GET--
--FILE--
<?php
-include "ext/standard/tests/aggregation/aggregate.lib";
+include dirname(__FILE__) . "/aggregate.lib";
$obj = new simple();
aggregate_properties_by_list($obj, 'helper', array('my_prop', 'our_prop'));
--GET--
--FILE--
<?php
-include "ext/standard/tests/aggregation/aggregate.lib";
+include dirname(__FILE__) . "/aggregate.lib";
$obj = new simple();
aggregate_properties_by_regexp($obj, 'helper', '/^my/');
--GET--
--FILE--
<?php
-include "ext/standard/tests/aggregation/aggregate.lib";
+include dirname(__FILE__) . "/aggregate.lib";
$obj = new simple();
aggregate($obj, 'mixin');
--GET--
--FILE--
<?php
-include "ext/standard/tests/aggregation/aggregate.lib";
+include dirname(__FILE__) . "/aggregate.lib";
$obj = new simple();
aggregate($obj, 'helper');
precision=14
--FILE--
<?php
-require('ext/standard/tests/array/data.inc');
+require(dirname(__FILE__) . '/data.inc');
/*
** Create sample arrays
** Test alpha, numeric (decimal, hex, octal) and special data
precision=14
--FILE--
<?php
-require('ext/standard/tests/array/data.inc');
+require(dirname(__FILE__) . '/data.inc');
function test_sort ($sort_function, $data) {
echo "\n -- Testing $sort_function() -- \n";
precision=14
--FILE--
<?php
-require('ext/standard/tests/array/data.inc');
+require(dirname(__FILE__) . '/data.inc');
function cmp ($a, $b) {
is_array ($a)
'key'=== array_search('d', \$arr4)
TESTS;
-include('tests/quicktester.inc');
+include(dirname(__FILE__) . '/../../../../tests/quicktester.inc');
--EXPECT--
OK
-(LONG_MIN+1) === abs(LONG_MIN+1)
TESTS;
-include('tests/quicktester.inc');
+include(dirname(__FILE__) . '/../../../../tests/quicktester.inc');
--EXPECT--
1,1,0,0
OK
TESTS;
echo "On failure, please mail result to php-dev@lists.php.net\n";
- include('tests/quicktester.inc');
+ include(dirname(__FILE__) . '/../../../../tests/quicktester.inc');
--EXPECT--
1,1,0,0
LONG_MAX ~== floor(LONG_MAX + 0.5)
TESTS;
-include('tests/quicktester.inc');
+include(dirname(__FILE__) . '/../../../../tests/quicktester.inc');
--EXPECT--
1,1,0,0
OK
"ABC" === trim("ABC\\x50\\xC1\\x60\\x90","\\x50..\\xC1")
TESTS;
-include('tests/quicktester.inc');
+include(dirname(__FILE__) . '/../../../../tests/quicktester.inc');
--EXPECT--
OK
TESTS;
-include('tests/quicktester.inc');
+include(dirname(__FILE__) . '/../../../../tests/quicktester.inc');
--EXPECT--
OK