PHP Classes

File: htdocs/class/libraries/vendor/symfony/yaml/Tests/Fixtures/YtsNullsAndEmpties.yml

Recommend this page to a friend!
  Classes of Michael Beck  >  Xoops 2.5  >  htdocs/class/libraries/vendor/symfony/yaml/Tests/Fixtures/YtsNullsAndEmpties.yml  >  Download  
File: htdocs/class/libraries/vendor/symfony/yaml/Tests/Fixtures/YtsNullsAndEmpties.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Xoops 2.5
Modular content management publication system
Author: By
Last change:
Date: 3 years ago
Size: 683 bytes
 

 

Contents

Class file image Download
--- %YAML:1.0
test: Empty Sequence
brief: >
    You can represent the empty sequence
    with an empty inline sequence.
yaml: |
    empty: []
php: |
    array('empty' => array())
---
test: Empty Mapping
brief: >
    You can represent the empty mapping
    with an empty inline mapping.
yaml: |
    empty: {}
php: |
    array('empty' => array())
---
test: Empty Sequence as Entire Document
yaml: |
    []
php: |
    array()
---
test: Empty Mapping as Entire Document
yaml: |
    {}
php: |
    array()
---
test: Null as Document
yaml: |
    ~
php: |
    null
---
test: Empty String
brief: >
    You can represent an empty string
    with a pair of quotes.
yaml: |
    ''
php: |
    ''

For more information send a message to info at phpclasses dot org.