php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #52551
Patch array.c.diff revision 2010-08-06 06:38 UTC by planet36 at gmail dot com

Patch array.c.diff for Documentation problem Bug #52551

Patch version 2010-08-06 06:38 UTC

Return to Bug #52551 | Download this patch
Patch Revisions:

Developer: planet36@gmail.com

--- array.c~	2010-08-06 02:35:37.000000000 -0400
+++ array.c	2010-08-06 02:35:39.000000000 -0400
@@ -1737,7 +1737,7 @@
 				add_next_index_long(return_value, (long)low);
 			}
 		} else if (high > low) { 	/* Positive steps */
-			if (high - low < lstep || lstep <= 0) {
+			if (/*high - low < lstep ||*/ lstep <= 0) {
 				err = 1;
 				goto err;
 			}
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 18:01:31 2024 UTC