Skip to content

Instantly share code, notes, and snippets.

@7rin0
Last active August 20, 2021 09:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 7rin0/fce301f98fe28b58ea6afb237fe4123c to your computer and use it in GitHub Desktop.
Save 7rin0/fce301f98fe28b58ea6afb237fe4123c to your computer and use it in GitHub Desktop.
Parse yaml file using php cli and yaml mod
# 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