3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $form = "<form method='post' action='#'id='createAdminAccountForm'>"; $form .= "<p id='globalFormErrorMessage'></p>"; $form .= "<p class='adminFormList'>"; $form .= "<label for='name'>Name</label>"; $form .= "<input size='20' type='text'name='name' id='name'>"; $form .= "<span class='formError'></span>"; $form .= "</p>"; $form .= "<p class='adminFormList'>"; $form .= "<label for='password'>Password</label>"; $form .= "<input size='20' type='password' name='password' id='password'>"; $form .= "<span class='formError'></span>"; $form .= "</p>"; $form .= "<p class='adminFormList'>"; $form .= "<label for='reenterPass'>Re-Enter</label>"; $form .= "<input size='20' type='password' name='reenterPass' id='reenterPass'>"; $form .= "<span class='formError'></span>"; $form .= "</p>"; $form .= "<p class='adminFormList'>"; $form .= "<label for='email'>Email</label>"; $form .= "<input size='20' type='text' name='email' id='email'>"; $form .= "<span class='formError'></span>"; $form .= "</p>"; $form .= "<p class='adminFormList'>"; $form .= "<label for='reenterMail'>Re-Enter</label>"; $form .= "<input size='20' type='text' name='reenterMail' id='reenterMail'>"; $form .= "<span class='formError'></span>"; $form .= "</p>"; $form .= "<p class='adminFormList'><input type='submit' value='Create'></p>"; echo $form;
Output for 4.3.0 - 7.1.0
<form method='post' action='#'id='createAdminAccountForm'><p id='globalFormErrorMessage'></p><p class='adminFormList'><label for='name'>Name</label><input size='20' type='text'name='name' id='name'><span class='formError'></span></p><p class='adminFormList'><label for='password'>Password</label><input size='20' type='password' name='password' id='password'><span class='formError'></span></p><p class='adminFormList'><label for='reenterPass'>Re-Enter</label><input size='20' type='password' name='reenterPass' id='reenterPass'><span class='formError'></span></p><p class='adminFormList'><label for='email'>Email</label><input size='20' type='text' name='email' id='email'><span class='formError'></span></p><p class='adminFormList'><label for='reenterMail'>Re-Enter</label><input size='20' type='text' name='reenterMail' id='reenterMail'><span class='formError'></span></p><p class='adminFormList'><input type='submit' value='Create'></p>