0 ) { $wgDebugLogFile = '/dev/stdout'; } if ( $d > 1 ) { foreach ( $wgLoadBalancer->mServers as $i => $server ) { $wgLoadBalancer->mServers[$i]['flags'] |= DBO_DEBUG; } } if ( $d > 2 ) { $wgDebugFunctionEntry = true; } } while ( ( $line = readconsole( '> ' ) ) !== false ) { $val = eval( $line . ";" ); if( is_null( $val ) ) { echo "\n"; } elseif( is_string( $val ) || is_numeric( $val ) ) { echo "$val\n"; } else { var_dump( $val ); } if ( function_exists( "readline_add_history" ) ) { readline_add_history( $line ); } } print "\n"; ?>