Ignore:
Timestamp:
Feb 8, 2010, 2:27:22 AM (10 years ago)
Author:
Sam Hocevar
Message:

Large source code cleanup, getting rid of spaces, tabs, and svn keywords.

File:
1 edited

Legend:

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

    r4148 r4333  
    66 *
    77 *  This file is a Php port of "examples/transform.c"
    8  *  which is: 
     8 *  which is:
    99 *  Copyright (c) 2006 Sam Hocevar <sam@hocevar.net>
    1010 *                All Rights Reserved
    11  *
    12  *  $Id$
    1311 *
    1412 *  This program is free software. It comes without any warranty, to
     
    2018
    2119if (php_sapi_name() != "cli") {
    22         die("You have to run this program with php-cli!\n");
     20    die("You have to run this program with php-cli!\n");
    2321}
    2422
    2523$pig = (
    26         ",--.   ,--.\n" .
    27         "\\  /-~-\\  /\n" .
    28         " )' o O `(\n" .
    29         "(  ,---.  )\n" .
    30         " `(_o_o_)'\n" .
    31         "   )`-'(\n");
     24    ",--.   ,--.\n" .
     25    "\\  /-~-\\  /\n" .
     26    " )' o O `(\n" .
     27    "(  ,---.  )\n" .
     28    " `(_o_o_)'\n" .
     29    "   )`-'(\n");
    3230
    3331$duck = (
    34         "                ,~~.\n" .
    35         "    __     ,   (  O )>\n" .
    36         "___( o)>   )`~~'   (\n" .
    37         "\\ <_. )   (  .__)   )\n" .
    38         " `---'     `-.____,'\n");
     32    "                ,~~.\n" .
     33    "    __     ,   (  O )>\n" .
     34    "___( o)>   )`~~'   (\n" .
     35    "\\ <_. )   (  .__)   )\n" .
     36    " `---'     `-.____,'\n");
    3937
    4038$cv = caca_create_canvas(0, 0);
    4139if(! $cv)
    4240{
    43         die("Can't created canvas\n");
     41    die("Can't created canvas\n");
    4442}
    4543$dp = caca_create_display($cv);
    4644if(! $dp)
    4745{
    48         die("Can't create display\n");
     46    die("Can't create display\n");
    4947}
    5048
Note: See TracChangeset for help on using the changeset viewer.