mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
13 lines
239 B
Plaintext
13 lines
239 B
Plaintext
|
--TEST--
|
||
|
Test null arg behavior for special functions
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
$null = null;
|
||
|
var_dump(strlen($null));
|
||
|
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in %s on line %d
|
||
|
int(0)
|