mirror of
https://github.com/php/php-src.git
synced 2025-01-08 20:17:28 +08:00
a541bb8078
- Update README.PARAMETER_PARSING_API
12 lines
205 B
PHP
12 lines
205 B
PHP
--TEST--n
|
|
Bug #14580 (key() not binary safe)
|
|
--FILE--
|
|
<?php
|
|
$arr = array (b"foo\0bar" => b"foo\0bar");
|
|
$key = key($arr);
|
|
echo strlen($key), ': ';
|
|
echo urlencode($key), "\n";
|
|
?>
|
|
--EXPECT--
|
|
7: foo%00bar
|