[xdebug-dev] xdebug xdebug/php_xdebug.h - Fixed memory tracking as memory_limit is always enabled in PHP 5.2.1 and later.

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Sun, 24 Dec 2006 21:04:29 +0100

Date: Sun Dec 24 21:04:29 CET 2006
User: Derick Rethans
Directory: xdebug

Log Message:
[0.25]
- Fixed memory tracking as memory_limit is always enabled in PHP 5.2.1 and later.

Modified files:
           xdebug/php_xdebug.h (version: 1.124)

[FILE: /xdebug/php_xdebug.h]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.123
retrieving revision 1.124
diff -u -r1.123 -r1.124
--- xdebug/php_xdebug.h:1.123 Sat Dec 23 19:26:15 2006 GMT
+++ xdebug/php_xdebug.h Sun Dec 24 19:04:29 2006 GMT
@@ -48,6 +48,8 @@
 
 #if MEMORY_LIMIT
 # define HAVE_PHP_MEMORY_USAGE 1
+#elif PHP_VERSION_ID >= 50201
+# define HAVE_PHP_MEMORY_USAGE 1
 #else
 # define HAVE_PHP_MEMORY_USAGE 0
 #endif
Received on Sun Dec 24 2006 - 21:04:38 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST