1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 01:02:25 +01:00
Files
archived-php-src/ext/standard/tests/streams/stream_encoding.phpt
Felipe Pena e4fc964ab3 - Added check for encoding optional parameter (avoiding the segfault in filter.c: strlen(encoding))
If the parameter is not suplied, it will try to use the UG(stream_enconding)
2008-05-28 18:02:52 +00:00

12 lines
124 B
PHP

--TEST--
Testing stream_encoding()
--FILE--
<?php
stream_encoding(fopen(__FILE__, 'r'));
print "Done";
?>
--EXPECT--
Done