Try HAML-TO-PHP Live

Select a sample below, edit the HAML, then click Run to see generated PHP code and rendered HTML output.

Available variables in this sandbox:
array(
  'title' => 'hello customer!',
  'text'  => 'some content to be quoted <>',
)

For security, only strtoupper and strtolower are allowed in interpolations.

HAML Input editable
Generated PHP

You can also copy-paste samples from the Examples page. Questions? Contact Support.

Usage sample