<?php
$a = 'valoarea variabilei'; // definesc o variabila
print 'Textul definit cu ghilimele contine $a'; // Textul definit cu ghilimele contine $a
print "\n\n"; // pentru lizibilitate
print 'Porecla ta e Kelu\' ?'; // sir delimitat de ghilimele simple ce contine un apostrof
print 'Text cu backslash \\'; // sir delimitat de ghilimele simple ce contine un backslash
print "\n\n"; // pentru lizibilitate
print 'Alte escape chars nu sunt interpretate \n \t \b'; // textul este afisat ca atare
?>
PD9waHAKJGEgPSAndmFsb2FyZWEgdmFyaWFiaWxlaSc7IC8vIGRlZmluZXNjIG8gdmFyaWFiaWxhCnByaW50ICdUZXh0dWwgZGVmaW5pdCBjdSBnaGlsaW1lbGUgY29udGluZSAkYSc7IC8vIFRleHR1bCBkZWZpbml0IGN1IGdoaWxpbWVsZSBjb250aW5lICRhCgpwcmludCAiXG5cbiI7IC8vIHBlbnRydSBsaXppYmlsaXRhdGUKcHJpbnQgJ1BvcmVjbGEgdGEgZSBLZWx1XCcgPyc7IC8vIHNpciBkZWxpbWl0YXQgZGUgZ2hpbGltZWxlIHNpbXBsZSBjZSBjb250aW5lIHVuIGFwb3N0cm9mCnByaW50ICdUZXh0IGN1IGJhY2tzbGFzaCBcXCc7IC8vIHNpciBkZWxpbWl0YXQgZGUgZ2hpbGltZWxlIHNpbXBsZSBjZSBjb250aW5lIHVuIGJhY2tzbGFzaAogCnByaW50ICJcblxuIjsgLy8gcGVudHJ1IGxpemliaWxpdGF0ZQpwcmludCAnQWx0ZSBlc2NhcGUgY2hhcnMgbnUgc3VudCBpbnRlcnByZXRhdGUgXG4gXHQgXGInOyAvLyB0ZXh0dWwgZXN0ZSBhZmlzYXQgY2EgYXRhcmUKPz4=