summaryrefslogtreecommitdiff
path: root/ext/standard/exec.c
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-12-05 22:53:34 +0000
committerfoobar <sniper@php.net>2005-12-05 22:53:34 +0000
commit0ac2b74b0be70d651383a5c948a2fe2a1f1b3cea (patch)
treef4ca93a4e1c8947588fd3b412e6e20ad9b10435a /ext/standard/exec.c
parentc33bb8493035f2cc9759d6800b6ef0359e467518 (diff)
downloadphp-git-0ac2b74b0be70d651383a5c948a2fe2a1f1b3cea.tar.gz
- Nuke php3 legacy
Diffstat (limited to 'ext/standard/exec.c')
-rw-r--r--ext/standard/exec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c
index a7bea6c766..448bc79913 100644
--- a/ext/standard/exec.c
+++ b/ext/standard/exec.c
@@ -57,7 +57,7 @@
* If type==3, output will be printed binary, no lines will be saved or returned (passthru)
*
*/
-int php_exec(int type, char *cmd, pval *array, pval *return_value TSRMLS_DC)
+int php_exec(int type, char *cmd, zval *array, zval *return_value TSRMLS_DC)
{
FILE *fp;
char *buf, *tmp=NULL;
@@ -372,7 +372,7 @@ char *php_escape_shell_arg(char *str) {
Escape shell metacharacters */
PHP_FUNCTION(escapeshellcmd)
{
- pval **arg1;
+ zval **arg1;
char *cmd = NULL;
if (zend_get_parameters_ex(1, &arg1) == FAILURE) {
@@ -392,7 +392,7 @@ PHP_FUNCTION(escapeshellcmd)
Quote and escape an argument for use in a shell command */
PHP_FUNCTION(escapeshellarg)
{
- pval **arg1;
+ zval **arg1;
char *cmd = NULL;
if (zend_get_parameters_ex(1, &arg1) == FAILURE) {
@@ -414,7 +414,7 @@ PHP_FUNCTION(shell_exec)
{
FILE *in;
size_t total_readbytes;
- pval **cmd;
+ zval **cmd;
char *ret;
php_stream *stream;