File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / sapi / cli / tests / 009.phpt
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue May 29 12:34:35 2012 UTC (12 years, 1 month ago) by misho
Branches: php, MAIN
CVS tags: v5_4_3elwix, v5_4_29p0, v5_4_29, v5_4_20p0, v5_4_20, v5_4_17p0, v5_4_17, HEAD
php 5.4.3+patches

    1: --TEST--
    2: using invalid combinations of cmdline options
    3: --SKIPIF--
    4: <?php include "skipif.inc"; ?>
    5: --FILE--
    6: <?php
    7: 
    8: $php = getenv('TEST_PHP_EXECUTABLE');
    9: 
   10: var_dump(`$php -n -a -r "echo hello;"`);
   11: var_dump(`$php -n -r "echo hello;" -a`);
   12: 
   13: echo "Done\n";
   14: ?>
   15: --EXPECTF--	
   16: string(57) "Either execute direct code, process stdin or use a file.
   17: "
   18: string(57) "Either execute direct code, process stdin or use a file.
   19: "
   20: Done

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>