Searched refs:use (Results 1 – 25 of 593) sorted by relevance
12345678910>>...24
2 Bug #53958 (Closures can't 'use' shared variables by value and by reference)7 $fn1 = function() use ($a) {echo "$a\n"; $a++;};8 $fn2 = function() use ($a) {echo "$a\n"; $a++;};17 $fn1 = function() use (&$b) {echo "$b\n"; $b++;};18 $fn2 = function() use (&$b) {echo "$b\n"; $b++;};27 $fn1 = function() use (&$c) {echo "$c\n"; $c++;};28 $fn2 = function() use ($c) {echo "$c\n"; $c++;};37 $fn1 = function() use ($d) {echo "$d\n"; $d++;};38 $fn2 = function() use (&$d) {echo "$d\n"; $d++;};
51 Warning: Cannot use a scalar value as an array in %s on line %d54 Warning: Cannot use a scalar value as an array in %s on line %d57 Warning: Cannot use a scalar value as an array in %s on line %d77 Warning: Cannot use a scalar value as an array in %s on line %d96 Warning: Cannot use a scalar value as an array in %s on line %d99 Warning: Cannot use a scalar value as an array in %s on line %d102 Warning: Cannot use a scalar value as an array in %s on line %d119 Warning: Cannot use a scalar value as an array in %s on line %d137 Warning: Cannot use a scalar value as an array in %s on line %d140 Warning: Cannot use a scalar value as an array in %s on line %d[all …]
8 use Blah\Exception;9 use Blah\Ex;12 Fatal error: Cannot use Blah\Ex as Ex because the name is already in use in %sbug42859.php on line 6
2 Bug #54358 (Closure, use and reference)12 $closure = function() use ($asserter, &$function) {20 $closure = function() use ($asserter, $function) {28 $closure = function() use ($asserter, $function) {
20 use test\ns1\Foo;21 use test\ns1\Foo as Bar;22 use \test\ns1\Foo2;23 use \test\ns1\Foo2 as Bar2;
2 062: use \global class6 use \stdClass;7 use \stdClass as A;
2 Bug #43183 ("use" of the same class in difference scripts results in a fatal error)6 use Test\Foo;9 use Test\Bar;
8 use A\B as Foo;12 Fatal error: Cannot use A\B as Foo because the name is already in use in %sns_030.php on line 5
13 use test\ns1\Foo as Bar;14 use test\ns1 as ns2;15 use test\ns1;
2 061: use in global scope6 use \A as B;
2 errmsg: can't use [] for reading12 Fatal error: Cannot use [] for reading in %s on line %d
2 errmsg: can't use [] for reading - 212 Fatal error: Cannot use [] for reading in %s on line %d
2 errmsg: can't use [] for unsetting12 Fatal error: Cannot use [] for unsetting in %s on line %d
5 use A;7 Warning: The use statement with non-compound name 'A' has no effect in %sns_033.php on line 2
2 065: Multiple names in use statement5 use X\Y as test, X\Z as test2;
6 $x = function () use (&$x) {7 $h = function () use ($x) {
2 errmsg: cannot use 'self' as class name12 Fatal error: Cannot use 'self' as class name as it is reserved in %s on line %d
2 errmsg: cannot use 'parent' as class name12 Fatal error: Cannot use 'parent' as class name as it is reserved in %s on line %d
2 Trying use object of type stdClass as array11 Fatal error: Cannot use object of type stdClass as array in %s on line %d
8 $lambda1 = function () use ($x) {12 $lambda2 = function () use (&$x) {
2 errmsg: cannot use 'self' as interface name12 Fatal error: Cannot use 'self' as interface name as it is reserved in %s on line %d
2 errmsg: cannot use 'parent' as interface name12 Fatal error: Cannot use 'parent' as interface name as it is reserved in %s on line %d
22 You can use -R or -F only once.24 You can use -R or -F only once.26 You can use -R or -F only once.28 You can use -R or -F only once.30 You can use -f only once.32 You can use -B only once.34 You can use -E only once.36 You can use -r only once.
2 Test unlink() function : usage variations - unlink file in use15 /* Try to unlink file when file handle is still in use */19 echo "*** Testing unlink() on a file which is in use ***\n";34 *** Testing unlink() on a file which is in use ***
43 Cannot set stub ".phar/stub.php" directly in phar "%sinvalid_setstubalias.phar.tar", use setStub44 Cannot set alias ".phar/alias.txt" directly in phar "%sinvalid_setstubalias.phar.tar", use setAlias45 Cannot set stub ".phar/stub.php" directly in phar "%sinvalid_setstubalias.phar.zip", use setStub46 Cannot set alias ".phar/alias.txt" directly in phar "%sinvalid_setstubalias.phar.zip", use setAlias
Completed in 19 milliseconds