Changeset 3175
- Timestamp:
- Nov 1, 2008, 2:44:28 AM (12 years ago)
- Location:
- libcaca/trunk/caca-php/examples
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/caca-php/examples/cacainfo.php
r3172 r3175 47 47 48 48 49 if (!posix_isatty(STDOUT)) 50 die("You have to run this program with php-cli!\n"); 51 49 52 just_for_fun(); 50 53 -
libcaca/trunk/caca-php/examples/demo.php
r3173 r3175 360 360 } 361 361 362 363 if (!posix_isatty(STDOUT)) 364 die("You have to run this program with php-cli!\n"); 365 362 366 main(); 363 367 -
libcaca/trunk/caca-php/examples/dithering.php
r3174 r3175 11 11 * http://sam.zoy.org/wtfpl/COPYING for more details. 12 12 */ 13 14 if (!posix_isatty(STDOUT)) 15 die("You have to run this program with php-cli!\n"); 13 16 14 17 $img = imagecreatefrompng(dirname(__FILE__)."/logo-caca.png"); … … 28 31 caca_refresh_display($display); 29 32 30 caca_get_event($display, CACA_EVENT_KEY_PRESS, 5000000);33 caca_get_event($display, CACA_EVENT_KEY_PRESS, -1); 31 34 32 35 ?> -
libcaca/trunk/caca-php/examples/figfont.php
r3172 r3175 24 24 } 25 25 26 if (!posix_isatty(STDOUT)) 27 die("You have to run this program with php-cli!\n"); 26 28 27 29 if ($argc < 3) { -
libcaca/trunk/caca-php/examples/polyline.php
r3174 r3175 18 18 return $result; 19 19 } 20 21 if (!posix_isatty(STDOUT)) 22 die("You have to run this program with php-cli!\n"); 20 23 21 24 $canvas = caca_create_canvas(0, 0); -
libcaca/trunk/caca-php/examples/text.php
r3137 r3175 15 15 * http://sam.zoy.org/wtfpl/COPYING for more details. 16 16 */ 17 18 if (!posix_isatty(STDOUT)) 19 die("You have to run this program with php-cli!\n"); 17 20 18 21 $string = <<<EOT
Note: See TracChangeset
for help on using the changeset viewer.