mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Fix 'can not' in test data and in code comments
This commit is contained in:
parent
0a831423f7
commit
c3dda473cc
26 changed files with 32 additions and 31 deletions
|
@ -1,5 +1,5 @@
|
|||
--TEST--
|
||||
Bug #47516 (nowdoc can not be embed in heredoc but can be embed in double quote)
|
||||
Bug #47516 (nowdoc cannot be embedded in heredoc but can be embedded in double quote)
|
||||
--FILE--
|
||||
<?php
|
||||
$s='substr';
|
||||
|
|
|
@ -37,9 +37,9 @@ $t[] = &$t;
|
|||
unset($t); // This is used to trigger C::__destruct while doing gc_colloct_roots
|
||||
|
||||
$e = $a;
|
||||
unset($a); // This one can not be putted into roots buf because it's full, thus gc_colloct_roots will be called,
|
||||
unset($a); // This one cannot be put into roots buf because it's full, thus gc_colloct_roots will be called,
|
||||
// but C::__destructor which is called in gc_colloct_roots will put $a into buf
|
||||
// which will make $a be putted into gc roots buf twice
|
||||
// which will make $a be put into gc roots buf twice
|
||||
var_dump(gc_collect_cycles());
|
||||
?>
|
||||
--EXPECT--
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--TEST--
|
||||
Test function pcntl_fork() by testing the process isolation in the forking hierarchy father -> son -> grandson where father can not knows his grandson
|
||||
Test function pcntl_fork() by testing the process isolation in the forking hierarchy father -> son -> grandson where father cannot know his grandson
|
||||
--CREDITS--
|
||||
Marco Fabbri mrfabbri@gmail.com
|
||||
Francesco Fullone ff@ideato.it
|
||||
|
|
|
@ -13,6 +13,7 @@ $s = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP) or die("skip Can not create so
|
|||
if (socket_set_option($s, $level, IPV6_MULTICAST_IF, 1) === false) {
|
||||
die("skip interface 1 either doesn't exist or has no ipv6 address");
|
||||
}
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
$domain = AF_INET6;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--TEST--
|
||||
Ensure a interface can not have protected constants
|
||||
Ensure an interface cannot have protected constants
|
||||
--FILE--
|
||||
<?php
|
||||
interface A {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--TEST--
|
||||
Ensure a interface can not have private constants
|
||||
Ensure an interface cannot have private constants
|
||||
--FILE--
|
||||
<?php
|
||||
interface A {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue