summaryrefslogtreecommitdiff
path: root/ext/session
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-06-06 15:18:51 +0000
committerSascha Schumann <sas@php.net>1999-06-06 15:18:51 +0000
commit605756de7ff79adec4de50e93a91ba07d0eaf29b (patch)
treebe2c5ed5e42f618e51bec50d13856fde0e58c603 /ext/session
parentd5dc2cd22cfc2caef02673bfd52bf90971bc674e (diff)
downloadphp-git-605756de7ff79adec4de50e93a91ba07d0eaf29b.tar.gz
- s/encoded/encode/
- new TODO entry
Diffstat (limited to 'ext/session')
-rw-r--r--ext/session/php_session.h2
-rw-r--r--ext/session/session.c7
2 files changed, 5 insertions, 4 deletions
diff --git a/ext/session/php_session.h b/ext/session/php_session.h
index 480d5b23f9..7441547828 100644
--- a/ext/session/php_session.h
+++ b/ext/session/php_session.h
@@ -94,7 +94,7 @@ PHP_FUNCTION(session_id);
PHP_FUNCTION(session_decode);
PHP_FUNCTION(session_register);
PHP_FUNCTION(session_unregister);
-PHP_FUNCTION(session_encoded);
+PHP_FUNCTION(session_encode);
PHP_FUNCTION(session_start);
PS_FUNCS(files);
diff --git a/ext/session/session.c b/ext/session/session.c
index aaa06664fb..637fdf89ff 100644
--- a/ext/session/session.c
+++ b/ext/session/session.c
@@ -34,6 +34,7 @@
* - improve files handler for better scaling
* - add complete support for objects (partially implemented)
* - complete ZTS support (currently only useable as non-ZTS)
+ * - userland callback functions for ps_module
*/
#include <sys/time.h>
@@ -63,7 +64,7 @@ function_entry session_functions[] = {
PHP_FE(session_decode, NULL)
PHP_FE(session_register, NULL)
PHP_FE(session_unregister, NULL)
- PHP_FE(session_encoded, NULL)
+ PHP_FE(session_encode, NULL)
PHP_FE(session_start, NULL)
{0}
};
@@ -453,9 +454,9 @@ PHP_FUNCTION(session_unregister)
}
/* }}} */
-/* {{{ proto string session_encoded()
+/* {{{ proto string session_encode()
serializes the current setup and returns the serialized representation */
-PHP_FUNCTION(session_encoded)
+PHP_FUNCTION(session_encode)
{
int len;
char *enc;