aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/eval.php
blob: c53da36f902f646c0d8a7bdba02b77c9bf01cf94 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
/**
 * @todo document
 * @package MediaWiki
 * @subpackage Maintenance
 */

/** */
require_once( "commandLine.inc" );

do {
	$line = readconsole( "> " );
	eval( $line . ";" );
	if ( function_exists( "readline_add_history" ) ) {
		readline_add_history( $line );
	}
} while ( 1 );




?>