summaryrefslogtreecommitdiff
path: root/ext/spl/tests/bug53588.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/bug53588.phpt')
-rw-r--r--ext/spl/tests/bug53588.phpt23
1 files changed, 0 insertions, 23 deletions
diff --git a/ext/spl/tests/bug53588.phpt b/ext/spl/tests/bug53588.phpt
index 1546908c35..e69de29bb2 100644
--- a/ext/spl/tests/bug53588.phpt
+++ b/ext/spl/tests/bug53588.phpt
@@ -1,23 +0,0 @@
---TEST--
-Bug #53588 (SplMinHeap bad sorting with custom compare function)
---FILE--
-<?php
-class MySimpleHeap extends SplMinHeap{
- public function compare( $value1, $value2 ){
- return ( $value1 - $value2 );
- }
-}
-
-$obj = new MySimpleHeap();
-$obj->insert( 8 );
-$obj->insert( 0 );
-$obj->insert( 4 );
-
-foreach( $obj as $number ) {
- echo $number, "\n";
-}
---EXPECT--
-0
-4
-8
-