@@ -381,9 +381,9 @@ impl ZendFunction {
381381 #[ cfg( all(
382382 phper_major_version = "7" ,
383383 any(
384- phper_minor_version = "0" ,
385- phper_minor_version = "1" ,
386384 phper_minor_version = "2" ,
385+ phper_minor_version = "1" ,
386+ phper_minor_version = "0" ,
387387 )
388388 ) ) ]
389389 initialized : 1 ,
@@ -449,7 +449,7 @@ unsafe extern "C" fn invoke(execute_data: *mut zend_execute_data, return_value:
449449pub ( crate ) const fn create_zend_arg_info (
450450 name : * const c_char , _pass_by_ref : bool ,
451451) -> zend_internal_arg_info {
452- #[ cfg( any ( phper_php_version = "8.1" , phper_php_version = "8.0" ) ) ]
452+ #[ cfg( phper_major_version = "8" ) ]
453453 {
454454 zend_internal_arg_info {
455455 name,
@@ -461,10 +461,13 @@ pub(crate) const fn create_zend_arg_info(
461461 }
462462 }
463463
464- #[ cfg( any(
465- phper_php_version = "7.4" ,
466- phper_php_version = "7.3" ,
467- phper_php_version = "7.2"
464+ #[ cfg( all(
465+ phper_major_version = "7" ,
466+ any(
467+ phper_minor_version = "4" ,
468+ phper_minor_version = "3" ,
469+ phper_minor_version = "2" ,
470+ )
468471 ) ) ]
469472 {
470473 #[ allow( clippy:: unnecessary_cast) ]
@@ -476,7 +479,10 @@ pub(crate) const fn create_zend_arg_info(
476479 }
477480 }
478481
479- #[ cfg( any( phper_php_version = "7.1" , phper_php_version = "7.0" ) ) ]
482+ #[ cfg( all(
483+ phper_major_version = "7" ,
484+ any( phper_minor_version = "1" , phper_minor_version = "0" )
485+ ) ) ]
480486 {
481487 zend_internal_arg_info {
482488 name,
0 commit comments