خوب خروجی jsbeautifier.org
رو phpbeautifier.com میدیم
نتیجه اش میشه این
مشکل کجاست!!!
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bootstrap 101 Template</title>
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]><script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script><script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script><![endif]-->
<style>
* {
padding: 0;
margin: 0;
}
body {
direction: rtl;
}
</style>
</head>
<body>
<?php
echo "Loading...";
$a = array("1", "2", "3");
$b = array("1" => "a", "2" => "b");
if (true == true)
{
echo "Complate.";
}
function func($var)
{
echo $var;
} ?>
<h1>Hello, world!</h1>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
<script>
var a = new Array("1", "2", "3");
function func(v) {
alert(v);
}
if (true == true) {
alert("true");
}
</script>
</body>
</html>