mirror of
https://github.com/php/php-src.git
synced 2025-01-22 11:44:09 +08:00
Remove leading "./" from include filenames as in PHP this defeats include_path.
This commit is contained in:
parent
90fa54c9d8
commit
1fdff888ce
@ -1,10 +1,9 @@
|
||||
--TEST--
|
||||
aggregating everything
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php
|
||||
include "./ext/standard/tests/aggregation/aggregate.lib";
|
||||
|
||||
include "ext/standard/tests/aggregation/aggregate.lib";
|
||||
|
||||
$obj = new simple();
|
||||
aggregate($obj, 'helper');
|
||||
|
@ -4,7 +4,7 @@ aggregating all methods
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php
|
||||
include "./ext/standard/tests/aggregation/aggregate.lib";
|
||||
include "ext/standard/tests/aggregation/aggregate.lib";
|
||||
|
||||
$obj = new simple();
|
||||
aggregate_methods($obj, 'mixin');
|
||||
|
@ -4,7 +4,7 @@ aggregating methods specified in the list
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php
|
||||
include "./ext/standard/tests/aggregation/aggregate.lib";
|
||||
include "ext/standard/tests/aggregation/aggregate.lib";
|
||||
|
||||
$obj = new simple();
|
||||
aggregate_methods_by_list($obj, 'helper', array('just_another_method'));
|
||||
|
@ -4,7 +4,7 @@ aggregating methods matching regular expression
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php
|
||||
include "./ext/standard/tests/aggregation/aggregate.lib";
|
||||
include "ext/standard/tests/aggregation/aggregate.lib";
|
||||
|
||||
$obj = new simple();
|
||||
aggregate_methods_by_regexp($obj, 'helper', '/^do/');
|
||||
|
@ -4,7 +4,7 @@ aggregating all default properties
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php
|
||||
include "./ext/standard/tests/aggregation/aggregate.lib";
|
||||
include "ext/standard/tests/aggregation/aggregate.lib";
|
||||
|
||||
$obj = new simple();
|
||||
aggregate_properties($obj, 'mixin');
|
||||
|
@ -4,7 +4,7 @@ aggregating default properties specified in the list
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php
|
||||
include "./ext/standard/tests/aggregation/aggregate.lib";
|
||||
include "ext/standard/tests/aggregation/aggregate.lib";
|
||||
|
||||
$obj = new simple();
|
||||
aggregate_properties_by_list($obj, 'helper', array('my_prop', 'our_prop'));
|
||||
|
@ -4,7 +4,7 @@ aggregating default properties matching regular expression
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php
|
||||
include "./ext/standard/tests/aggregation/aggregate.lib";
|
||||
include "ext/standard/tests/aggregation/aggregate.lib";
|
||||
|
||||
$obj = new simple();
|
||||
aggregate_properties_by_regexp($obj, 'helper', '/^my/');
|
||||
|
@ -4,7 +4,7 @@ retrieving aggregation info
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php
|
||||
include "./ext/standard/tests/aggregation/aggregate.lib";
|
||||
include "ext/standard/tests/aggregation/aggregate.lib";
|
||||
|
||||
$obj = new simple();
|
||||
aggregate($obj, 'mixin');
|
||||
|
@ -4,7 +4,7 @@ deaggreating
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php
|
||||
include "./ext/standard/tests/aggregation/aggregate.lib";
|
||||
include "ext/standard/tests/aggregation/aggregate.lib";
|
||||
|
||||
$obj = new simple();
|
||||
aggregate($obj, 'helper');
|
||||
|
Loading…
Reference in New Issue
Block a user