Basic phpt question?!
| From: | Pieter Online | Date: | Wed, 16 May 2007 12:57:23 +0000 |
| Subject: | Basic phpt question?! | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-46788@lists.php.net to get a copy of this message | ||
Hello All,
I just can't get this basic test foo.phpt of passing the value 123 right!!!:
--TEST--
foo parameter
--GET--
foo=123
--FILE--
<?php
var_dump($_GET['foo']);
?>
--EXPECT--
string(3) "123"
pear run-tests foo.phpt gives:0 PASSED TESTS 0 SKIPPED TESTS 1 FAILED TESTS: The foo.out gives: NULL Can you please help me out. Thanks, Pieter