summaryrefslogtreecommitdiff
path: root/ext/standard
diff options
context:
space:
mode:
authorJon Parise <jon@php.net>2002-10-21 19:12:13 +0000
committerJon Parise <jon@php.net>2002-10-21 19:12:13 +0000
commit20e6ed36ec2e14b3e72af955b17a1e390a1f733b (patch)
tree1baf803675416d1525148679fa2834d974a0e137 /ext/standard
parent30ed5a5483ff2276f56c7292fce62b66f5189687 (diff)
downloadphp-git-20e6ed36ec2e14b3e72af955b17a1e390a1f733b.tar.gz
Convert C++ style comments to C style comments.
Diffstat (limited to 'ext/standard')
-rw-r--r--ext/standard/basic_functions.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c
index 177c0766a5..af30c32daf 100644
--- a/ext/standard/basic_functions.c
+++ b/ext/standard/basic_functions.c
@@ -1412,8 +1412,9 @@ PHP_FUNCTION(getopt)
* Get argv from the global symbol table. We calculate argc ourselves
* in order to be on the safe side, even though it is also available
* from the symbol table.
+ *
+ * TODO: Take from trackbars instead.
*/
- // TODO take fromm trackvars instead
if (zend_hash_find(HASH_OF(PG(http_globals)[TRACK_VARS_SERVER]), "argv", sizeof("argv"),
(void **) &args) != FAILURE) {
int pos = 0;
@@ -1468,7 +1469,7 @@ PHP_FUNCTION(getopt)
while (zend_hash_get_current_data(Z_ARRVAL_P(p_longopts),
(void **)&arg) == SUCCESS) {
- // todo check for : and ::, strip'em, efrees ...
+ /* TODO: check for : and ::, strip'em, efrees ... */
p->has_arg = 0;
name = estrdup(Z_STRVAL_PP(arg));
len = strlen(name);