PHP

Tags: embeddable, functional, imperative, interpreted, iterative, modular, multiparadigm, object-oriented class-based, reflective, scripting

Related tools:

<?php echo "<!DOCTYPE html>\n"; echo "<html lang=\"en\">\n"; echo "<!-- This is a simple PHP template -->\n"; // This section could also use <?= syntax ?> <body> <h1>Hello world!</h1> <p>This page was rendered on <?= date("Y-m-d") ?></p> <pre><?php $pairs = [ "Hello" => "world!", "How are" => "you?", "I like the number" => 3 ]; // Iterate over key-value pairs foreach ($pairs as $k => $v) { echo "($k, $v) "; } ?></pre> </body> </html>
PHP Summary
Language PHP
Home Page