Commit:    777b6679a41abe40c4211c2f2a906a5218680872
Author:    Xinchen Hui <larue...@php.net>         Sat, 21 Jul 2012 23:30:32 
+0800
Parents:   ead076bac613bc69d83ab65be2efb68feada912c
Branches:  PHP-5.3

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=777b6679a41abe40c4211c2f2a906a5218680872

Log:
missed the test script

Changed paths:
  A  ext/spl/tests/bug62616.phpt


Diff:
diff --git a/ext/spl/tests/bug62616.phpt b/ext/spl/tests/bug62616.phpt
new file mode 100644
index 0000000..4e4be94
--- /dev/null
+++ b/ext/spl/tests/bug62616.phpt
@@ -0,0 +1,15 @@
+--TEST--
+Bug #62616 (ArrayIterator::count() from IteratorIterator instance gives 
Segmentation fault)
+--FILE--
+<?php
+$ai = new ArrayIterator(array(0,1));
+
+var_dump($ai->count());
+
+$ii = new IteratorIterator($ai);
+
+var_dump($ii->count());
+?>
+--EXPECTF--
+int(2)
+int(2)


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to