@@ -508,7 +508,7 @@ static const func_info_t func_infos[] = {
508
508
F1 ("long2ip" , MAY_BE_STRING |MAY_BE_FALSE ),
509
509
F1 ("getenv" , MAY_BE_STRING |MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_STRING |MAY_BE_FALSE ),
510
510
F1 ("getopt" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_STRING |MAY_BE_ARRAY_OF_ARRAY |MAY_BE_ARRAY_OF_FALSE |MAY_BE_FALSE ),
511
- #if HAVE_NANOSLEEP
511
+ #if defined( HAVE_NANOSLEEP )
512
512
F1 ("time_nanosleep" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_LONG |MAY_BE_BOOL ),
513
513
#endif
514
514
F1 ("get_current_user" , MAY_BE_STRING ),
@@ -522,10 +522,10 @@ static const func_info_t func_infos[] = {
522
522
F1 ("set_include_path" , MAY_BE_STRING |MAY_BE_FALSE ),
523
523
F1 ("get_include_path" , MAY_BE_STRING |MAY_BE_FALSE ),
524
524
F1 ("print_r" , MAY_BE_STRING |MAY_BE_BOOL ),
525
- #if HAVE_GETSERVBYPORT
525
+ #if defined( HAVE_GETSERVBYPORT )
526
526
F1 ("getservbyport" , MAY_BE_STRING |MAY_BE_FALSE ),
527
527
#endif
528
- #if HAVE_GETPROTOBYNUMBER
528
+ #if defined( HAVE_GETPROTOBYNUMBER )
529
529
F1 ("getprotobynumber" , MAY_BE_STRING |MAY_BE_FALSE ),
530
530
#endif
531
531
F1 ("parse_ini_file" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_FALSE |MAY_BE_ARRAY_OF_TRUE |MAY_BE_ARRAY_OF_LONG |MAY_BE_ARRAY_OF_DOUBLE |MAY_BE_ARRAY_OF_STRING |MAY_BE_ARRAY_OF_ARRAY |MAY_BE_ARRAY_OF_NULL |MAY_BE_FALSE ),
@@ -538,7 +538,7 @@ static const func_info_t func_infos[] = {
538
538
#endif
539
539
F1 ("get_browser" , MAY_BE_OBJECT |MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_ANY |MAY_BE_FALSE ),
540
540
F1 ("crypt" , MAY_BE_STRING ),
541
- #if HAVE_STRPTIME
541
+ #if defined( HAVE_STRPTIME )
542
542
F1 ("strptime" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_LONG |MAY_BE_ARRAY_OF_STRING |MAY_BE_FALSE ),
543
543
#endif
544
544
#if defined(HAVE_GETHOSTNAME )
@@ -547,7 +547,7 @@ static const func_info_t func_infos[] = {
547
547
F1 ("gethostbyaddr" , MAY_BE_STRING |MAY_BE_FALSE ),
548
548
F1 ("gethostbyname" , MAY_BE_STRING ),
549
549
F1 ("gethostbynamel" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_OF_STRING |MAY_BE_FALSE ),
550
- #if defined(PHP_WIN32 ) || HAVE_DNS_SEARCH_FUNC
550
+ #if defined(PHP_WIN32 ) || defined ( HAVE_DNS_SEARCH_FUNC )
551
551
F1 ("dns_get_record" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_OF_ARRAY |MAY_BE_FALSE ),
552
552
#endif
553
553
F1 ("md5" , MAY_BE_STRING ),
@@ -573,7 +573,7 @@ static const func_info_t func_infos[] = {
573
573
F1 ("get_html_translation_table" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_STRING ),
574
574
F1 ("bin2hex" , MAY_BE_STRING ),
575
575
F1 ("hex2bin" , MAY_BE_STRING |MAY_BE_FALSE ),
576
- #if HAVE_NL_LANGINFO
576
+ #if defined( HAVE_NL_LANGINFO )
577
577
F1 ("nl_langinfo" , MAY_BE_STRING |MAY_BE_FALSE ),
578
578
#endif
579
579
F1 ("wordwrap" , MAY_BE_STRING ),
@@ -701,7 +701,7 @@ static const func_info_t func_infos[] = {
701
701
F1 ("stream_socket_server" , MAY_BE_RESOURCE |MAY_BE_FALSE ),
702
702
F1 ("stream_socket_accept" , MAY_BE_RESOURCE |MAY_BE_FALSE ),
703
703
F1 ("stream_socket_recvfrom" , MAY_BE_STRING |MAY_BE_FALSE ),
704
- #if HAVE_SOCKETPAIR
704
+ #if defined( HAVE_SOCKETPAIR )
705
705
F1 ("stream_socket_pair" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_OF_RESOURCE |MAY_BE_FALSE ),
706
706
#endif
707
707
F1 ("stream_get_contents" , MAY_BE_STRING |MAY_BE_FALSE ),
0 commit comments