Browse Source

removed php.Lib.exit() and php.Lib.exitCode() (repetitions of php.Sys.exit())

Franco Ponticelli 17 years ago
parent
commit
5da3b9f32f
1 changed files with 0 additions and 8 deletions
  1. 0 8
      std/php/Lib.hx

+ 0 - 8
std/php/Lib.hx

@@ -43,14 +43,6 @@ class Lib {
 		return untyped __php__("0 == strncasecmp(PHP_SAPI, 'cli', 3)");
 		return untyped __php__("0 == strncasecmp(PHP_SAPI, 'cli', 3)");
 	}
 	}
 
 
-	public static function exit(?msg : String) {
-		return untyped __call__("exit", msg);
-	}
-
-	public static function exitCode(code : Int) {
-		return untyped __call__("exit", code);
-	}
-
 	public static function printFile(file : String) {
 	public static function printFile(file : String) {
 		var h = untyped __call__("fopen", file,  "r");
 		var h = untyped __call__("fopen", file,  "r");
 		return untyped __call__("fpassthru", h);
 		return untyped __call__("fpassthru", h);