KR
is0
<?php
function foo() {
echo "a is bigger than b";
}
?>
Allman
is1
<?php
function foo()
{
echo "a is bigger than b";
}
?>
Whitesmiths
is2
<?php
function foo()
{
echo "a is bigger than b";
}
?>
GNU
is3
<?php
function foo()
{
echo "a is bigger than b";
}
?>
PEAR
is4
<?php
function foo()
{
echo "a is bigger than b";
}
?>
Spaces
ich0
<?php
function foo()
{
****echo "a is bigger than b";
}
?>
Tab
ich1
<?php
function foo()
{
--->echo "a is bigger than b";
}
?>
Range : 0-100
in
//indent_number4
<?php
function foo()
{
****echo "a is bigger than b";
}
?>
//indent_number5
<?php
function foo()
{
*****echo "a is bigger than b";
}
?>
Range : 0-100
fin
//first_indent_number0
<?php
function foo()
{
echo "a is bigger than b";
}
?>
//first_indent_number2
<?php
function foo()
{
echo "a is bigger than b";
}
?>
Yes
icd
<?php
switch($i) {
case 0:
echo "i equals 0";
break;
case 1:
echo "i equals 1";
break;
case 2:
echo "i equals 2";
break;
default:
echo "i is not equal to 0, 1 or 2";
}
?>
No
<?php
switch($i) {
case 0:
echo "i equals 0";
break;
case 1:
echo "i equals 1";
break;
case 2:
echo "i equals 2";
break;
default:
echo "i is not equal to 0, 1 or 2";
}
?>
Yes
sas
<?php
if ($a>$b)
echo "a is bigger than b";
?>
No
<?php
if($a>$b)
echo "a is bigger than b";
?>
Yes
sibr
<?php
if( $a>$b )
echo "a is bigger than b";
?>
No
<?php
if($a>$b)
echo "a is bigger than b";
?>
Yes
siebr
<?php
function foo( )
{
echo "a is bigger than b";
}
?>
No
<?php
function foo()
{
echo "a is bigger than b";
}
?>
Yes
sibb
<?php
$arr[ '1' ]=56;
?>
No
<?php
$arr['1']=56;
?>
Yes
siebb
<?php
$arr[ ]=56;
?>
No
<?php
$arr[]=56;
?>
Yes
samt
<?php
$a=3 * 3 % 5;
?>
No
<?php
$a=3*3%5;
?>
Yes
salo
<?php
$g=true && false;
?>
No
<?php
$g=true&&false;
?>
Yes
saeo
<?php
var_dump(0 == "a");
?>
No
<?php
var_dump(0=="a");
?>
Yes
saro
<?php
var_dump(0 >= "a");
?>
No
<?php
var_dump(0>="a");
?>
Yes
sabo
<?php
echo 12 ^ 9;
$res=4 >> 1;
?>
No
<?php
echo 12^9;
$res=4>>1;
?>
Yes
saao
<?php
$a = 3;
$a += 5;
$b = "Hello ";
$b .= "There!";
?>
No
<?php
$a=3;
$a+=5;
$b="Hello ";
$b.="There!";
?>
Yes
samp
<?php
$array=array(
"foo" => "bar",
"bar" => "foo"
);
?>
No
<?php
$array=array(
"foo"=>"bar",
"bar"=>"foo"
);
?>
Yes
rc
<?php
function foo()
{
echo "a is bigger than b";
}
?>
No
<?php
function foo()
{
echo "a is bigger than b";
//a is bigger than b
}
?>
Yes
rel
<?php
function foo()
{
echo "a is bigger than b";
}
?>
No
<?php
function foo()
{
echo "a is bigger than b";
}
?>
Yes
aas
<?php
$a =3;
$aa =5;
$aaaa="Hello ";
?>
No
<?php
$a=3;
$aa=5;
$aaaa="Hello ";
?>
Yes
cas
<?php
if($a>$b) {
echo "a is bigger than b";
} //$a>$b
?>
No
<?php
if($a>$b) {
echo "a is bigger than b";
}
?>
Yes
rsl
<?php
function foo()
{
echo "a is bigger than b";
}
?>
No
<?php
function foo()
{
echo "a is bigger than b";
;
}
?>
Yes
iel
<?php
function foo()
{
****echo "a is bigger than b";
****
****echo "a is bigger than b";
}
?>
No
<?php
function foo()
{
****echo "a is bigger than b";
****echo "a is bigger than b";
}
?>
Yes
rpc
<?php
echo 'One Final Test';
// This is a one-line shell-style comment
?>
No
<?php
echo 'One Final Test';
# This is a one-line shell-style comment
?>
Yes
rst
<?php
echo 'Test';
?>
No
<?
echo 'Test';
?>
Yes
at
<%
echo 'Test';
%>
No
Yes
st
<?
echo 'Test';
?>
No
Yes
q
No errors are shown
No
Errors are shown