3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $yaml = <<<EOD --- invoice: 34843 date: "2001-01-23" bill-to: &id001 given: Chris family: Dumars address: lines: |- 458 Walkman Dr. Suite #292 city: Royal Oak state: MI postal: 48046 ship-to: *id001 product: - sku: BL394D quantity: 4 description: Basketball price: 450 - sku: BL4438H quantity: 1 description: Super Hoop price: 2392 tax: 251.420000 total: 4443.520000 comments: Late afternoon is best. Backup contact is Nancy Billsmer @ 338-4338. ... EOD; $parsed = yaml_parse($yaml); var_dump($parsed);
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Call to undefined function yaml_parse() in /in/tcHIh:33 Stack trace: #0 {main} thrown in /in/tcHIh on line 33
Process exited with code 255.
Output for 5.0.0 - 5.1.1, 5.1.3 - 5.6.28, hhvm-3.10.0 - 3.12.0
Fatal error: Call to undefined function yaml_parse() in /in/tcHIh on line 33
Process exited with code 255.
Output for 5.1.2
Fatal error: Call to undefined function yaml_parse() in /in/tcHIh on line 34
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: yaml_parse() in /in/tcHIh on line 33
Process exited with code 255.
Output for 4.3.2 - 4.4.1, 4.4.3 - 4.4.4
Fatal error: Call to undefined function: yaml_parse() in /in/tcHIh on line 33
Process exited with code 255.
Output for 4.4.2
Fatal error: Call to undefined function: yaml_parse() in /in/tcHIh on line 34
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: yaml_parse() in /in/tcHIh on line 33