File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / sapi / cli / tests / 009.phpt
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:48:06 2012 UTC (12 years, 5 months ago) by misho
Branches: php, MAIN
CVS tags: v5_3_10, HEAD
php

    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: Either execute direct code, process stdin or use a file.
   17: NULL
   18: Either execute direct code, process stdin or use a file.
   19: NULL
   20: Done

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