PHP 8.5.0 Alpha 4 available for testing

Voting

: six minus six?
(Example: nine)

The Note You're Voting On

wapmorgan
11 years ago
Notice that tempnam will return NULL (not false) if the second parameter <prefix> isn't transferred:
<?php
var_dump
(tempnam(sys_get_temp_dir())); // NULL
?>
also the warning will be generated:
Warning: tempnam() expects exactly 2 parameters, 1 given in php shell code ...

<< Back to user notes page

To Top