Ignore:
Timestamp:
Nov 1, 2008, 2:44:28 AM (13 years ago)
Author:
nico
Message:
  • Check that samples programs are executed with php-cli
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca-php/examples/text.php

    r3137 r3175  
    1515 *  http://sam.zoy.org/wtfpl/COPYING for more details.
    1616 */
     17
     18if (!posix_isatty(STDOUT))
     19        die("You have to run this program with php-cli!\n");
    1720
    1821$string =  <<<EOT
Note: See TracChangeset for help on using the changeset viewer.