{'l', 1, "listen"},
{'a', 1, "address-or-any"},
#endif
+ {'V', 0, "version"},
{'-', 0, NULL}
}; /* }}} */
} else address = strdup(php_optarg);
} break;
#endif
+
+ case 'V': {
+ printf(
+ "phpdbg %s (built: %s %s)\nCopyright (c) 2013 %s\nPHP %s, Copyright (c) 1997-2013 The PHP Group\n",
+ PHPDBG_VERSION,
+ __DATE__,
+ __TIME__,
+ PHPDBG_AUTHORS,
+ PHP_VERSION
+ );
+ return 0;
+ } break;
}
}
phpdbg_writeln(" -l\t-l4000\t\t\tSetup remote console ports");
phpdbg_writeln(" -a\t-a192.168.0.3\t\tSetup remote console bind address");
#endif
+ phpdbg_writeln(" -V\tN/A\t\t\tVersion number");
phpdbg_notice("Passing -rr will quit automatically after execution");
#ifndef _WIN32
phpdbg_writeln("Remote Console Mode");