Author: bernhard Date: Fri Nov 28 01:39:08 2008 New Revision: 33303 Added: trunk/languages/pipp/t/php/null.t (contents, props changed) Modified: trunk/MANIFEST
Log: [Pipp] add test script t/php/null.t Modified: trunk/MANIFEST ============================================================================== --- trunk/MANIFEST (original) +++ trunk/MANIFEST Fri Nov 28 01:39:08 2008 @@ -1,7 +1,7 @@ # ex: set ro: # $Id$ # -# generated by tools/dev/mk_manifest_and_skip.pl Thu Nov 27 20:10:09 2008 UT +# generated by tools/dev/mk_manifest_and_skip.pl Fri Nov 28 09:37:52 2008 UT # # See tools/dev/install_files.pl for documentation on the # format of this file. @@ -2417,6 +2417,7 @@ languages/pipp/t/php/math.t [pipp] languages/pipp/t/php/md5.t [pipp] languages/pipp/t/php/namespace.t [pipp] +languages/pipp/t/php/null.t [pipp] languages/pipp/t/php/oo.t [pipp] languages/pipp/t/php/pcre.t [pipp] languages/pipp/t/php/rand.t [pipp] Added: trunk/languages/pipp/t/php/null.t ============================================================================== --- (empty file) +++ trunk/languages/pipp/t/php/null.t Fri Nov 28 01:39:08 2008 @@ -0,0 +1,41 @@ +# Copyright (C) 2008, The Perl Foundation. +# $Id$ + +=head1 NAME + +t/php/null.t - test the NULL type and associated functions + +=head1 SYNOPSIS + + % perl t/harness t/php/null.t + +=head1 DESCRIPTION + +Tests the NULL type. + +See L<http://de.php.net/manual/en/language.types.null.php> + +=cut + +use strict; +use warnings; +use FindBin; +use lib "$FindBin::Bin/../../../../lib", "$FindBin::Bin/../../lib"; + +use Parrot::Test tests => 1; + + +language_output_is( 'Pipp', <<'CODE', <<'OUT', 'Stringification of an undefined var' ); +<?php +echo $undefined_var; +echo "\n"; +CODE +NULL +OUT + +# Local Variables: +# mode: cperl +# cperl-indent-level: 4 +# fill-column: 100 +# End: +# vim: expandtab shiftwidth=4:
