PHP & MySQL
Output, forms, sessions, cookies, SQL & CRUD
99 simulators found.
echo Output
echo Output ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
print & print_r
print & print_r ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Comments
Comments ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Variables
Variables ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
var_dump (types)
var_dump (types) ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Data Types
Data Types ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Constants
Constants ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
String Concatenation
String Concatenation ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Arithmetic
Arithmetic ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Increment / Decrement
Increment / Decrement ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Comparison & Spaceship
Comparison & Spaceship ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Type Juggling & Casting
Type Juggling & Casting ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
strlen()
strlen() ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
strtoupper / strtolower
strtoupper / strtolower ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
ucfirst / ucwords
ucfirst / ucwords ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
trim()
trim() ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
str_replace()
str_replace() ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
substr()
substr() ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
strpos()
strpos() ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
explode()
explode() ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
implode()
implode() ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
sprintf()
sprintf() ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
str_repeat & str_pad
str_repeat & str_pad ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
String Interpolation
String Interpolation ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Indexed Array
Indexed Array ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Associative Array
Associative Array ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Multidimensional Array
Multidimensional Array ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
count()
count() ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
array_push / pop
array_push / pop ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
array_merge
array_merge ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
in_array & array_search
in_array & array_search ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
array_keys / values
array_keys / values ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
sort & rsort
sort & rsort ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
asort & ksort
asort & ksort ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
array_map
array_map ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
array_filter
array_filter ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
array_reduce
array_reduce ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
array_slice & splice
array_slice & splice ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
array_column
array_column ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
List / Destructuring
List / Destructuring ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
if Statement
if Statement ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
if / else
if / else ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
elseif Chain
elseif Chain ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
switch
switch ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Ternary ?:
Ternary ?: ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Null Coalescing ??
Null Coalescing ?? ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
for Loop
for Loop ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
while Loop
while Loop ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
do-while Loop
do-while Loop ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
foreach
foreach ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
break N
break N ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
continue
continue ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Define a Function
Define a Function ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Parameters & return
Parameters & return ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Default Parameters
Default Parameters ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Type Declarations
Type Declarations ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Variable Scope
Variable Scope ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
global Keyword
global Keyword ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
static Variable
static Variable ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Pass by Reference
Pass by Reference ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Variadic ...$args
Variadic ...$args ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Anonymous Function
Anonymous Function ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Arrow Function
Arrow Function ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Recursion (Factorial)
Recursion (Factorial) ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
$_GET
$_GET ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
$_POST
$_POST ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
isset & empty
isset & empty ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
htmlspecialchars (XSS)
htmlspecialchars (XSS) ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
$_SERVER
$_SERVER ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
header() Redirect
header() Redirect ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
$_SESSION
$_SESSION ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
$_COOKIE
$_COOKIE ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Form Validation
Form Validation ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
File Include
File Include ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Define a Class
Define a Class ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Properties & Methods
Properties & Methods ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
__construct
__construct ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Visibility
Visibility ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Inheritance (extends)
Inheritance (extends) ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
parent::
parent:: ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Interface
Interface ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Abstract Class
Abstract Class ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Static Members
Static Members ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Class Constants
Class Constants ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
__toString
__toString ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Traits
Traits ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
mysqli_connect
mysqli_connect ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
mysqli Query (SELECT)
mysqli Query (SELECT) ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Prepared Statement
Prepared Statement ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
INSERT
INSERT ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
UPDATE
UPDATE ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
DELETE
DELETE ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
num_rows
num_rows ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
PDO Connect
PDO Connect ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
PDO Query + fetchAll
PDO Query + fetchAll ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
PDO Prepared
PDO Prepared ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
json_encode / decode
json_encode / decode ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
date() & time()
date() & time() ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.
Mini Project: CRUD Flow
Mini Project: CRUD Flow ÔÇö interactive PHP simulator with real code, expected output, dry-run steps and exam answer format.