nvim/test-colors.php

38 lines
636 B
PHP

<?php
// PHP should be primary brownish-red
function test_function($param) {
$variable = "string value";
return $variable;
}
$result = test_function("test");
?>
<!DOCTYPE html>
<html>
<head>
<!-- HTML should be blue (c3) -->
<style>
/* CSS should be green (c2) */
.my-class {
color: red;
background: blue;
}
#my-id {
font-size: 16px;
}
</style>
</head>
<body>
<div class="my-class" id="my-id">
<p>Hello World</p>
</div>
<?php
// Back to PHP (primary)
echo "Mixed content";
?>
</body>
</html>