|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-04-27 12:40 UTC] sterling at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 11 18:00:01 2026 UTC |
PHP_FUNCTION(snmp_set_quick_print) { zval **a1; if (ARG_COUNT(ht) != 1 || zend_get_parameters_ex(1, &a1) == FAILURE) { WRONG_PARAM_COUNT; } convert_to_long_ex(a1); int set_val = (*a1)->value.lval; snmp_set_quick_print(set_val); } doesn't compile (parse error), but it is ok withPHP_FUNCTION(snmp_set_quick_print) { zval **a1; int set_val; if (ARG_COUNT(ht) != 1 || zend_get_parameters_ex(1, &a1) == FAILURE) { WRONG_PARAM_COUNT; } convert_to_long_ex(a1); set_val = (*a1)->value.lval; snmp_set_quick_print(set_val); }