Spyc Namespace Reference
Detailed Description
Spyc -- A Simple PHP YAML Class
- Version:
- 0.4.5
- Author:
- Vlad Andersen <vlad.andersen@gmail.com>
-
Chris Wanstrath <chris@ozmm.org> Copyright 2005-2006 Chris Wanstrath, 2006-2009 Vlad Andersen http://www.opensource.org/licenses/mit-license.php MIT License The Simple PHP YAML Class. This class can be used to read a YAML file and convert its contents into a PHP array. It currently supports a very limited subsection of the YAML spec. Usage:
$Spyc = new Spyc; $array = $Spyc->load($file);
or: $array = Spyc::YAMLLoad($file);
or: $array = spyc_load_file($file);