Fix 'can not' in test data and in code comments

This commit is contained in:
Kamil Tekiela 2021-10-02 17:38:55 +01:00
parent 0a831423f7
commit c3dda473cc
No known key found for this signature in database
GPG key ID: 0760BDAB1E89A1E3
26 changed files with 32 additions and 31 deletions

View file

@ -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';

View file

@ -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--

View file

@ -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

View file

@ -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;

View file

@ -1,5 +1,5 @@
--TEST--
Ensure a interface can not have protected constants
Ensure an interface cannot have protected constants
--FILE--
<?php
interface A {

View file

@ -1,5 +1,5 @@
--TEST--
Ensure a interface can not have private constants
Ensure an interface cannot have private constants
--FILE--
<?php
interface A {