source: libcaca/trunk/caca-php/examples/drivers.php @ 3113

Last change on this file since 3113 was 3113, checked in by nico, 15 years ago
  • Add php binding for 15 new functions
  • Add new sample program "examples/drivers.php"
  • Property svn:executable set to *
File size: 199 bytes
Line 
1#!/usr/bin/php5
2<?
3
4echo "libcaca version: ".caca_get_version()."\n";
5echo "Available drivers:\n";
6$list = caca_get_display_driver_list();
7foreach($list as $type => $name)
8        echo "* $name ($type)\n";
Note: See TracBrowser for help on using the repository browser.