File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -327,9 +327,16 @@ PHP_FUNCTION(ceil)
327
327
{
328
328
zval * value ;
329
329
330
+ #ifndef FAST_ZPP
330
331
if (zend_parse_parameters (ZEND_NUM_ARGS (), "z" , & value ) == FAILURE ) {
331
332
return ;
332
333
}
334
+ #else
335
+ ZEND_PARSE_PARAMETERS_START (1 , 1 )
336
+ Z_PARAM_ZVAL (value )
337
+ ZEND_PARSE_PARAMETERS_END ();
338
+ #endif
339
+
333
340
convert_scalar_to_number_ex (value );
334
341
335
342
if (Z_TYPE_P (value ) == IS_DOUBLE ) {
@@ -347,9 +354,16 @@ PHP_FUNCTION(floor)
347
354
{
348
355
zval * value ;
349
356
357
+ #ifndef FAST_ZPP
350
358
if (zend_parse_parameters (ZEND_NUM_ARGS (), "z" , & value ) == FAILURE ) {
351
359
return ;
352
360
}
361
+ #else
362
+ ZEND_PARSE_PARAMETERS_START (1 , 1 )
363
+ Z_PARAM_ZVAL (value )
364
+ ZEND_PARSE_PARAMETERS_END ();
365
+ #endif
366
+
353
367
convert_scalar_to_number_ex (value );
354
368
355
369
if (Z_TYPE_P (value ) == IS_DOUBLE ) {
You can’t perform that action at this time.
0 commit comments