Last active
August 20, 2021 09:29
-
-
Save 7rin0/fce301f98fe28b58ea6afb237fe4123c to your computer and use it in GitHub Desktop.
Parse yaml file using php cli and yaml mod
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Requirements: php, php-yaml (pecl extention) | |
php -r 'echo print_r(yaml_parse_file(__DIR__ . "/app/config/parameters.yml"), 1);' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment