#!/usr/bin/php5 * * This file is a Php port of the official libcaca's sample program "demo.c" * which is: * Copyright (c) 2003 Sam Hocevar * * This program is free software. It comes without any warranty, to * the extent permitted by applicable law. You can redistribute it * and/or modify it under the terms of the Do What The Fuck You Want * To Public License, Version 2, as published by Sam Hocevar. See * http://sam.zoy.org/wtfpl/COPYING for more details. */ if (php_sapi_name() != "cli") { die("You have to run this program with php-cli!\n"); } $string = <<