From: Brion Vibber Date: Mon, 27 Mar 2006 22:58:13 +0000 (+0000) Subject: redundant file removal X-Git-Tag: 1.6.0~101 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22messagerie%22%29%20.%20%22?a=commitdiff_plain;h=032e5788253f97da4dc9eb4b5eb393d65cea3714;p=lhc%2Fweb%2Fwiklou.git redundant file removal --- diff --git a/maintenance/tests/ctype.php b/maintenance/tests/ctype.php deleted file mode 100644 index 5ede626380..0000000000 --- a/maintenance/tests/ctype.php +++ /dev/null @@ -1,33 +0,0 @@ -$~', '', $cont ); - -eval( $cont ); - -foreach ( $m[1] as $function ) { - $php = "$function"; - $mw = "_$function"; - $range = range( -1000, 1000 ); - foreach ( $range as $i ) { - ret_cmp( $php, $i, $php( $i ), $mw( $i ) ); - } - - foreach ( $range as $i ) { - $i = chr( $i ); - ret_cmp( $php, $i, $php( $i ), $mw( $i ) ); - } - - ret_cmp( $php, $i, $php( array() ), $mw( array() ) ); -} - -function ret_cmp( $fname, $in, $php, $mw ) { - if ( $php != '' ) - return; - if ( $php !== $mw ) - echo "PHP $fname() returned '" . serialize( $php ) . "' for '" . serialize( $in) . "', MediaWiki returned '" . serialize( $mw ) . "'\n"; -} -?>