Home
last modified time | relevance | path

Searched refs:session_create_id (Results 1 – 10 of 10) sorted by relevance

/php-src/ext/session/tests/
H A Dsession_create_id_basic.phpt2 Test session_create_id() function : basic functionality
15 echo "*** Testing session_create_id() : basic functionality ***\n";
18 var_dump(session_create_id());
19 var_dump(session_create_id(''));
20 var_dump(session_create_id(','));
21 var_dump(session_create_id('-'));
22 var_dump(session_create_id('0123456789'));
23 var_dump(session_create_id('ABCD'));
26 $sid = session_create_id('XYZ');
35 $sid = session_create_id('XYZ');
[all …]
H A Dsession_create_id_invalid_prefix.phpt2 Test session_create_id() function : invalid prefix
13 var_dump(session_create_id('_'));
14 var_dump(session_create_id('%'));
17 …var_dump(session_create_id('ABTgdPs68S3M4HMaqKwj33TzqLMv5PHpWQxJbfpeogEhrJRY7o9f33pKLCmhf0tXCtoBkI…
23 var_dump(session_create_id("AB\0CD"));
31 Warning: session_create_id(): Prefix cannot contain special characters. Only the A-Z, a-z, 0-9, "-"…
34 Warning: session_create_id(): Prefix cannot contain special characters. Only the A-Z, a-z, 0-9, "-"…
36 ValueError: session_create_id(): Argument #1 ($prefix) cannot be longer than 256 characters
37 ValueError: session_create_id(): Argument #1 ($prefix) must not contain any null bytes
H A Dbug79413.phpt2 Bug #79413 (session_create_id() fails for active sessions)
9 $new = session_create_id();
/php-src/ext/session/tests/user_session_module/
H A Dbug79091.phpt2 Bug #79091 (heap use-after-free in session_create_id())
59 session_create_id();
65 Warning: session_create_id(): Failed to create new ID in %s on line %d
H A Dgh9583.phpt2 GH-9583: session_create_id() fails with user defined save handler that doesn't have a validateId() …
35 $sessionId = session_create_id();
H A Dgh9583-extra.phpt2 GH-9583: session_create_id() fails with user defined save handler that doesn't have a validateId() …
H A Dsave_handler.inc134 // PHP 7.1 has session_create_id() for secure session ID generation. Older PHPs
/php-src/ext/session/
H A Dsession.stub.php33 function session_create_id(string $prefix = ""): string|false {} function
H A Dsession_arginfo.h142 ZEND_FUNCTION(session_create_id);
173 ZEND_FE(session_create_id, arginfo_session_create_id)
H A Dsession.c2466 PHP_FUNCTION(session_create_id) in PHP_FUNCTION() argument

Completed in 16 milliseconds