[YAML] In Action Tutorial Series - General - Hướng dẫn sử dụng file YML YAML cơ bản
https://viblo.asia/p/in-action-tutorial-series-general-huong-dan-su-dung-file-yml-yaml-co-ban-Az45bNbw5xY
Ví dụ hoàn thành :)
store: "Viblo"
address: "Asia"
fruits:
- name: "Orange"
price: "1$"
- name: "Banana"
price: "2$"
- value: true
array:
- 1
- 2
- 3
object:
property1: value1
property2: value2
Array
(
[store] => Viblo
[address] => Asia
[fruits] => Array
(
[0] => Array
(
[name] => Orange
[price] => 1$
)
[1] => Array
(
[name] => Banana
[price] => 2$
)
[2] => Array
(
[value] => 1
)
)
[array] => Array
(
[0] => 1
[1] => 2
[2] => 3
)
[object] => Array
(
[property1] => value1
[property2] => value2
)
)In Action Tutorial Series - General - Hướng dẫn sử dụng file YML YAML cơ bản
I. Giới thiệu
1. YML YAML là gì?
2. YML khác YAML chỗ nào?
3. Tại sao chọn YML?
II. Parse YML YAML như nào?
1. PHP
III. Cú pháp
PreviousFree Reverse Geocoding Javascript API map (ok)Next----------------- Start Notification -----------------
Last updated
