spyc.yml loaded into PHP:
Array
(
[1040] => Ooo, a numeric key!
[String] => Anyone's name, really.
[Int] => 13
[True] => 1
[False] =>
[Zero] => 0
[Null] =>
[Float] => 5.34
[0] => PHP Class
[1] => Basic YAML Loader
[2] => Very Basic YAML Dumper
[3] => Array
(
[0] => YAML is so easy to learn.
[1] => Your config files will never be the same.
)
[4] => Array
(
[cpu] => 1.5ghz
[ram] => 1 gig
[os] => os x 10.4.1
)
[domains] => Array
(
[0] => yaml.org
[1] => php.net
)
[5] => Array
(
[program] => Adium
[platform] => OS X
[type] => Chat Client
)
[no time] => There isn't any time for your tricks!
Do you understand?
[some time] => There is nothing but time
for your tricks.
[databases] => Array
(
[0] => Array
(
[name] => spartan
[notes] => Array
(
[0] => Needs to be backed up
[1] => Needs to be normalized
)
[type] => mysql
)
)
[if: you'd] => like
[6] => Array
(
[0] => One
[1] => Two
[2] => Three
[3] => Four
)
[7] => Array
(
[0] => One
[1] => Array
(
[0] => Two
[1] => And
[2] => Three
)
[2] => Four
[3] => Five
)
[8] => Array
(
[0] => This
[1] => Array
(
[0] => Is
[1] => Getting
[2] => Array
(
[0] => Ridiculous
[1] => Guys
)
)
[2] => Seriously
[3] => Array
(
[0] => Show
[1] => Mercy
)
)
[9] => Array
(
[name] => chris
[age] => young
[brand] => lucky strike
)
[10] => Array
(
[name] => mark
[age] => older than chris
[brand] => Array
(
[0] => marlboro
[1] => lucky strike
)
)
[dynamic languages] => Array
(
[0] => Perl
[1] => Python
[2] => PHP
[3] => Ruby
)
[compiled languages] => Array
(
[0] => C/C++
[1] => Java
)
[all languages] => Array
(
[0] => Array
(
[0] => Perl
[1] => Python
[2] => PHP
[3] => Ruby
)
[1] => Array
(
[0] => C/C++
[1] => Java
)
)
[11] => you know, this shouldn't work. but it does.
[12] => that's my value.
[13] => again, that's my value.
[14] => here's to "quotes", boss.
[15] => Array
(
[name] => Foo, Bar's
[age] => 20
)
)