diff options
author | Nuno Lopes <nlopess@php.net> | 2006-09-14 17:07:41 +0000 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2006-09-14 17:07:41 +0000 |
commit | 3ed3a71741f1bf6e1b1d9931ed5f027d322e1b2f (patch) | |
tree | 6dc5c53b8420a4b98e70ae2461cdd36565c2d4d3 /tests/run-test/test010.phpt | |
parent | 367d65eced68aac4c2cadab0867b2fc8e344ba3f (diff) | |
download | php-git-3ed3a71741f1bf6e1b1d9931ed5f027d322e1b2f.tar.gz |
MFB
Diffstat (limited to 'tests/run-test/test010.phpt')
-rw-r--r-- | tests/run-test/test010.phpt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/run-test/test010.phpt b/tests/run-test/test010.phpt new file mode 100644 index 0000000000..cc3ca3591e --- /dev/null +++ b/tests/run-test/test010.phpt @@ -0,0 +1,17 @@ +--TEST-- +STDIN input +--FILE-- +<?php +var_dump(stream_get_contents(STDIN)); +var_dump(stream_get_contents(fopen('php://stdin', 'r'))); +var_dump(file_get_contents('php://stdin')); +?> +--STDIN-- +fooBar +use this to input some thing to the php script +--EXPECT-- +string(54) "fooBar +use this to input some thing to the php script +" +string(0) "" +string(0) "" |