Skip to content

Commit 7fd2f6d

Browse files
committed
My application is perfect and without any bug
0 parents  commit 7fd2f6d

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"require": {
3+
"symfony/yaml" : "*",
4+
}
5+
}

index.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
3+
require __DIR__.'/vendor/autoload.php';
4+
5+
6+
use Symfony\Component\Yaml\Yaml;
7+
8+
$array = array(
9+
'foo' => 'bar',
10+
'bar' => array('foo' => 'bar', 'bar' => 'baz' => 'test'),
11+
);
12+
13+
echo Yaml::dump($array);

0 commit comments

Comments
 (0)