]> granicus.if.org Git - php/commitdiff
- Add information whether DTrace is enable to phpinfo
authorDavid Soria Parra <dsp@php.net>
Wed, 22 Jul 2009 13:57:34 +0000 (13:57 +0000)
committerDavid Soria Parra <dsp@php.net>
Wed, 22 Jul 2009 13:57:34 +0000 (13:57 +0000)
ext/standard/info.c

index b2103aff3fde5378ce50be745754393e08a5ca2a..592bb90047f7985345baa463c7309dcbec6c26e5 100644 (file)
@@ -809,6 +809,11 @@ PHPAPI void php_print_info(int flag TSRMLS_DC)
 #else
                php_info_print_table_row(2, "IPv6 Support", "disabled" );
 #endif
+#if HAVE_DTRACE
+               php_info_print_table_row(2, "DTrace Support", "enabled" );
+#else
+               php_info_print_table_row(2, "DTrace Support", "disabled" );
+#endif
                
                php_info_print_stream_hash("PHP Streams",  php_stream_get_url_stream_wrappers_hash() TSRMLS_CC);
                php_info_print_stream_hash("Stream Socket Transports", php_stream_xport_get_hash() TSRMLS_CC);