mirror of
https://github.com/php/php-src.git
synced 2026-04-16 20:41:18 +02:00
9 lines
155 B
PHP
9 lines
155 B
PHP
--TEST--
|
|
setcookie() allows empty cookie name
|
|
--FILE--
|
|
<?php
|
|
setcookie('', 'foo');
|
|
?>
|
|
--EXPECTF--
|
|
Warning: Cookie names must not be empty in %s on line %d
|