summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--execute.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/execute.c b/execute.c
index 304e08a..4c5d3c1 100644
--- a/execute.c
+++ b/execute.c
@@ -1409,9 +1409,6 @@ static int ih_srand(IH_HANDLER_PARAMS)
1409 long seed; 1409 long seed;
1410 1410
1411 if (zend_parse_parameters(argc TSRMLS_CC, "|l", &seed) == FAILURE || SUHOSIN_G(srand_ignore)) { 1411 if (zend_parse_parameters(argc TSRMLS_CC, "|l", &seed) == FAILURE || SUHOSIN_G(srand_ignore)) {
1412#ifndef PHP_ATLEAST_5_3
1413 RETVAL_FALSE;
1414#endif
1415 return (1); 1412 return (1);
1416 } 1413 }
1417 1414
@@ -1420,9 +1417,6 @@ static int ih_srand(IH_HANDLER_PARAMS)
1420 } else { 1417 } else {
1421 suhosin_srand(seed TSRMLS_CC); 1418 suhosin_srand(seed TSRMLS_CC);
1422 } 1419 }
1423#ifndef PHP_ATLEAST_5_3
1424 RETVAL_TRUE;
1425#endif
1426 return (1); 1420 return (1);
1427} 1421}
1428 1422
@@ -1432,9 +1426,6 @@ static int ih_mt_srand(IH_HANDLER_PARAMS)
1432 long seed; 1426 long seed;
1433 1427
1434 if (zend_parse_parameters(argc TSRMLS_CC, "|l", &seed) == FAILURE || SUHOSIN_G(mt_srand_ignore)) { 1428 if (zend_parse_parameters(argc TSRMLS_CC, "|l", &seed) == FAILURE || SUHOSIN_G(mt_srand_ignore)) {
1435#ifndef PHP_ATLEAST_5_3
1436 RETVAL_FALSE;
1437#endif
1438 return (1); 1429 return (1);
1439 } 1430 }
1440 1431
@@ -1443,9 +1434,6 @@ static int ih_mt_srand(IH_HANDLER_PARAMS)
1443 } else { 1434 } else {
1444 suhosin_mt_srand(seed TSRMLS_CC); 1435 suhosin_mt_srand(seed TSRMLS_CC);
1445 } 1436 }
1446#ifndef PHP_ATLEAST_5_3
1447 RETVAL_TRUE;
1448#endif
1449 return (1); 1437 return (1);
1450} 1438}
1451 1439