FILE: LINE:
34 |特色菜
23 |-
24 |
- {$vo.name} ¥{$vo.price} 26 |
- {$vo.detail} 27 |
菜单
43 |-
44 |
- {$vo.name} ¥{$vo.price} 46 |
- {$vo.detail} 47 |
├── .idea
└── vcs.xml
├── App
├── Common
│ └── Conf
│ │ └── config.php
└── Home
│ ├── Common
│ └── function.php
│ ├── Conf
│ └── config.php
│ ├── Controller
│ ├── AdminController.class.php
│ ├── CommonController.class.php
│ ├── IndexController.class.php
│ ├── LoginController.class.php
│ ├── ReserveController.class.php
│ ├── ShopsController.class.php
│ ├── WeixinController.class.php
│ └── WxpayController.class.php
│ └── View
│ ├── Admin
│ ├── dishes.html
│ ├── dishes_manage.html
│ ├── index.html
│ ├── manage.html
│ ├── reply.html
│ ├── reserve.html
│ └── wxmessage.html
│ ├── Index
│ ├── dishes.html
│ └── index.html
│ ├── Login
│ └── index.html
│ ├── Public
│ └── dispatch_jump.html
│ ├── Reserve
│ ├── about.html
│ ├── bind.html
│ ├── index.html
│ └── show.html
│ ├── Shops
│ └── index.html
│ ├── adminlayout.html
│ └── reservelayout.html
├── Public
├── css
│ ├── ReserveAbout.css
│ ├── ReserveBind.css
│ ├── ReserveIndex.css
│ ├── bootstrap.min.css
│ ├── dataTables.bootstrap.css
│ ├── dataTables.responsive.css
│ ├── font-awesome.min.css
│ ├── metisMenu.min.css
│ ├── normalize.css
│ ├── sb-admin-2.css
│ ├── shops_street.css
│ ├── style.css
│ └── supersized.css
├── fonts
│ ├── FontAwesome.otf
│ ├── fontawesome-webfont.eot
│ ├── fontawesome-webfont.svg
│ └── fontawesome-webfont.ttf
└── js
│ ├── bootstrap.min.js
│ ├── dataTables.bootstrap.min.js
│ ├── form.min.js
│ ├── html5.js
│ ├── jquery-1.11.3.min.js
│ ├── jquery.dataTables.min.js
│ ├── jquery.js
│ ├── jquery.mobile-1.4.5.min.js
│ ├── jquery.mobile.icons-1.4.5.min.css
│ ├── jquery.mobile.structure-1.4.5.min.css
│ ├── jquery.seat-charts.min.js
│ ├── live_weixin.png
│ ├── metisMenu.min.js
│ ├── my.min.css
│ └── sb-admin-2.js
├── README.md
├── ThinkPHP
├── Common
│ └── functions.php
├── Conf
│ ├── convention.php
│ └── debug.php
├── LICENSE.txt
├── Lang
│ ├── en-us.php
│ ├── pt-br.php
│ ├── zh-cn.php
│ └── zh-tw.php
├── Library
│ ├── Behavior
│ │ ├── AgentCheckBehavior.class.php
│ │ ├── BorisBehavior.class.php
│ │ ├── BrowserCheckBehavior.class.php
│ │ ├── BuildLiteBehavior.class.php
│ │ ├── CheckActionRouteBehavior.class.php
│ │ ├── CheckLangBehavior.class.php
│ │ ├── ChromeShowPageTraceBehavior.class.php
│ │ ├── ContentReplaceBehavior.class.php
│ │ ├── CronRunBehavior.class.php
│ │ ├── FireShowPageTraceBehavior.class.php
│ │ ├── ParseTemplateBehavior.class.php
│ │ ├── ReadHtmlCacheBehavior.class.php
│ │ ├── RobotCheckBehavior.class.php
│ │ ├── ShowPageTraceBehavior.class.php
│ │ ├── ShowRuntimeBehavior.class.php
│ │ ├── TokenBuildBehavior.class.php
│ │ ├── UpgradeNoticeBehavior.class.php
│ │ └── WriteHtmlCacheBehavior.class.php
│ ├── Org
│ │ ├── Net
│ │ │ ├── Http.class.php
│ │ │ └── IpLocation.class.php
│ │ └── Util
│ │ │ ├── ArrayList.class.php
│ │ │ ├── CodeSwitch.class.php
│ │ │ ├── Date.class.php
│ │ │ ├── Rbac.class.php
│ │ │ ├── Stack.class.php
│ │ │ ├── String.class.php
│ │ │ └── Wechat.class.php
│ ├── Think
│ │ ├── App.class.php
│ │ ├── Auth.class.php
│ │ ├── Behavior.class.php
│ │ ├── Build.class.php
│ │ ├── Cache.class.php
│ │ ├── Cache
│ │ │ └── Driver
│ │ │ │ ├── Apachenote.class.php
│ │ │ │ ├── Apc.class.php
│ │ │ │ ├── Db.class.php
│ │ │ │ ├── Eaccelerator.class.php
│ │ │ │ ├── File.class.php
│ │ │ │ ├── Memcache.class.php
│ │ │ │ ├── Memcached.class.php
│ │ │ │ ├── Memcachesae.class.php
│ │ │ │ ├── Redis.class.php
│ │ │ │ ├── Shmop.class.php
│ │ │ │ ├── Sqlite.class.php
│ │ │ │ ├── Wincache.class.php
│ │ │ │ └── Xcache.class.php
│ │ ├── Controller.class.php
│ │ ├── Controller
│ │ │ ├── HproseController.class.php
│ │ │ ├── JsonRpcController.class.php
│ │ │ ├── RestController.class.php
│ │ │ ├── RpcController.class.php
│ │ │ └── YarController.class.php
│ │ ├── Crypt.class.php
│ │ ├── Crypt
│ │ │ └── Driver
│ │ │ │ ├── Base64.class.php
│ │ │ │ ├── Crypt.class.php
│ │ │ │ ├── Des.class.php
│ │ │ │ ├── Think.class.php
│ │ │ │ └── Xxtea.class.php
│ │ ├── Db.class.php
│ │ ├── Db
│ │ │ ├── Driver.class.php
│ │ │ ├── Driver
│ │ │ │ ├── Firebird.class.php
│ │ │ │ ├── Mongo.class.php
│ │ │ │ ├── Mysql.class.php
│ │ │ │ ├── Oracle.class.php
│ │ │ │ ├── Pgsql.class.php
│ │ │ │ ├── Sqlite.class.php
│ │ │ │ └── Sqlsrv.class.php
│ │ │ └── Lite.class.php
│ │ ├── Dispatcher.class.php
│ │ ├── Exception.class.php
│ │ ├── Hook.class.php
│ │ ├── Image.class.php
│ │ ├── Image
│ │ │ └── Driver
│ │ │ │ ├── GIF.class.php
│ │ │ │ ├── Gd.class.php
│ │ │ │ └── Imagick.class.php
│ │ ├── Log.class.php
│ │ ├── Log
│ │ │ └── Driver
│ │ │ │ ├── File.class.php
│ │ │ │ └── Sae.class.php
│ │ ├── Model.class.php
│ │ ├── Model
│ │ │ ├── AdvModel.class.php
│ │ │ ├── MergeModel.class.php
│ │ │ ├── MongoModel.class.php
│ │ │ ├── RelationModel.class.php
│ │ │ └── ViewModel.class.php
│ │ ├── Page.class.php
│ │ ├── Route.class.php
│ │ ├── Session
│ │ │ └── Driver
│ │ │ │ ├── Db.class.php
│ │ │ │ ├── Memcache.class.php
│ │ │ │ └── Mysqli.class.php
│ │ ├── Storage.class.php
│ │ ├── Storage
│ │ │ └── Driver
│ │ │ │ ├── File.class.php
│ │ │ │ └── Sae.class.php
│ │ ├── Template.class.php
│ │ ├── Template
│ │ │ ├── Driver
│ │ │ │ ├── Ease.class.php
│ │ │ │ ├── Lite.class.php
│ │ │ │ ├── Mobile.class.php
│ │ │ │ ├── Smart.class.php
│ │ │ │ └── Smarty.class.php
│ │ │ ├── TagLib.class.php
│ │ │ └── TagLib
│ │ │ │ ├── Cx.class.php
│ │ │ │ └── Html.class.php
│ │ ├── Think.class.php
│ │ ├── Upload.class.php
│ │ ├── Upload
│ │ │ └── Driver
│ │ │ │ ├── Bcs.class.php
│ │ │ │ ├── Bcs
│ │ │ │ ├── bcs.class.php
│ │ │ │ ├── mimetypes.class.php
│ │ │ │ └── requestcore.class.php
│ │ │ │ ├── Ftp.class.php
│ │ │ │ ├── Local.class.php
│ │ │ │ ├── Qiniu.class.php
│ │ │ │ ├── Qiniu
│ │ │ │ └── QiniuStorage.class.php
│ │ │ │ ├── Sae.class.php
│ │ │ │ └── Upyun.class.php
│ │ ├── Verify.class.php
│ │ ├── Verify
│ │ │ ├── bgs
│ │ │ │ ├── 1.jpg
│ │ │ │ ├── 2.jpg
│ │ │ │ ├── 3.jpg
│ │ │ │ ├── 4.jpg
│ │ │ │ ├── 5.jpg
│ │ │ │ ├── 6.jpg
│ │ │ │ ├── 7.jpg
│ │ │ │ └── 8.jpg
│ │ │ ├── ttfs
│ │ │ │ ├── 1.ttf
│ │ │ │ ├── 2.ttf
│ │ │ │ ├── 3.ttf
│ │ │ │ ├── 4.ttf
│ │ │ │ ├── 5.ttf
│ │ │ │ └── 6.ttf
│ │ │ └── zhttfs
│ │ │ │ └── 1.ttf
│ │ └── View.class.php
│ └── Vendor
│ │ ├── Boris
│ │ ├── Boris.php
│ │ ├── CLIOptionsHandler.php
│ │ ├── ColoredInspector.php
│ │ ├── Config.php
│ │ ├── DumpInspector.php
│ │ ├── EvalWorker.php
│ │ ├── ExportInspector.php
│ │ ├── Inspector.php
│ │ ├── ReadlineClient.php
│ │ └── ShallowParser.php
│ │ ├── EaseTemplate
│ │ ├── template.core.php
│ │ └── template.ease.php
│ │ ├── Hprose
│ │ ├── HproseClassManager.php
│ │ ├── HproseClient.php
│ │ ├── HproseCommon.php
│ │ ├── HproseFormatter.php
│ │ ├── HproseHttpClient.php
│ │ ├── HproseHttpServer.php
│ │ ├── HproseIO.php
│ │ ├── HproseIOStream.php
│ │ ├── HproseReader.php
│ │ ├── HproseTags.php
│ │ └── HproseWriter.php
│ │ ├── README.txt
│ │ ├── SmartTemplate
│ │ ├── class.smarttemplate.php
│ │ ├── class.smarttemplatedebugger.php
│ │ └── class.smarttemplateparser.php
│ │ ├── Smarty
│ │ ├── Smarty.class.php
│ │ ├── SmartyBC.class.php
│ │ ├── debug.tpl
│ │ ├── plugins
│ │ │ ├── block.textformat.php
│ │ │ ├── function.counter.php
│ │ │ ├── function.cycle.php
│ │ │ ├── function.fetch.php
│ │ │ ├── function.html_checkboxes.php
│ │ │ ├── function.html_image.php
│ │ │ ├── function.html_options.php
│ │ │ ├── function.html_radios.php
│ │ │ ├── function.html_select_date.php
│ │ │ ├── function.html_select_time.php
│ │ │ ├── function.html_table.php
│ │ │ ├── function.mailto.php
│ │ │ ├── function.math.php
│ │ │ ├── modifier.capitalize.php
│ │ │ ├── modifier.date_format.php
│ │ │ ├── modifier.debug_print_var.php
│ │ │ ├── modifier.escape.php
│ │ │ ├── modifier.regex_replace.php
│ │ │ ├── modifier.replace.php
│ │ │ ├── modifier.spacify.php
│ │ │ ├── modifier.truncate.php
│ │ │ ├── modifiercompiler.cat.php
│ │ │ ├── modifiercompiler.count_characters.php
│ │ │ ├── modifiercompiler.count_paragraphs.php
│ │ │ ├── modifiercompiler.count_sentences.php
│ │ │ ├── modifiercompiler.count_words.php
│ │ │ ├── modifiercompiler.default.php
│ │ │ ├── modifiercompiler.escape.php
│ │ │ ├── modifiercompiler.from_charset.php
│ │ │ ├── modifiercompiler.indent.php
│ │ │ ├── modifiercompiler.lower.php
│ │ │ ├── modifiercompiler.noprint.php
│ │ │ ├── modifiercompiler.string_format.php
│ │ │ ├── modifiercompiler.strip.php
│ │ │ ├── modifiercompiler.strip_tags.php
│ │ │ ├── modifiercompiler.to_charset.php
│ │ │ ├── modifiercompiler.unescape.php
│ │ │ ├── modifiercompiler.upper.php
│ │ │ ├── modifiercompiler.wordwrap.php
│ │ │ ├── outputfilter.trimwhitespace.php
│ │ │ ├── shared.escape_special_chars.php
│ │ │ ├── shared.literal_compiler_param.php
│ │ │ ├── shared.make_timestamp.php
│ │ │ ├── shared.mb_str_replace.php
│ │ │ ├── shared.mb_unicode.php
│ │ │ ├── shared.mb_wordwrap.php
│ │ │ └── variablefilter.htmlspecialchars.php
│ │ └── sysplugins
│ │ │ ├── smarty_cacheresource.php
│ │ │ ├── smarty_cacheresource_custom.php
│ │ │ ├── smarty_cacheresource_keyvaluestore.php
│ │ │ ├── smarty_config_source.php
│ │ │ ├── smarty_internal_cacheresource_file.php
│ │ │ ├── smarty_internal_compile_append.php
│ │ │ ├── smarty_internal_compile_assign.php
│ │ │ ├── smarty_internal_compile_block.php
│ │ │ ├── smarty_internal_compile_break.php
│ │ │ ├── smarty_internal_compile_call.php
│ │ │ ├── smarty_internal_compile_capture.php
│ │ │ ├── smarty_internal_compile_config_load.php
│ │ │ ├── smarty_internal_compile_continue.php
│ │ │ ├── smarty_internal_compile_debug.php
│ │ │ ├── smarty_internal_compile_eval.php
│ │ │ ├── smarty_internal_compile_extends.php
│ │ │ ├── smarty_internal_compile_for.php
│ │ │ ├── smarty_internal_compile_foreach.php
│ │ │ ├── smarty_internal_compile_function.php
│ │ │ ├── smarty_internal_compile_if.php
│ │ │ ├── smarty_internal_compile_include.php
│ │ │ ├── smarty_internal_compile_include_php.php
│ │ │ ├── smarty_internal_compile_insert.php
│ │ │ ├── smarty_internal_compile_ldelim.php
│ │ │ ├── smarty_internal_compile_nocache.php
│ │ │ ├── smarty_internal_compile_private_block_plugin.php
│ │ │ ├── smarty_internal_compile_private_function_plugin.php
│ │ │ ├── smarty_internal_compile_private_modifier.php
│ │ │ ├── smarty_internal_compile_private_object_block_function.php
│ │ │ ├── smarty_internal_compile_private_object_function.php
│ │ │ ├── smarty_internal_compile_private_print_expression.php
│ │ │ ├── smarty_internal_compile_private_registered_block.php
│ │ │ ├── smarty_internal_compile_private_registered_function.php
│ │ │ ├── smarty_internal_compile_private_special_variable.php
│ │ │ ├── smarty_internal_compile_rdelim.php
│ │ │ ├── smarty_internal_compile_section.php
│ │ │ ├── smarty_internal_compile_setfilter.php
│ │ │ ├── smarty_internal_compile_while.php
│ │ │ ├── smarty_internal_compilebase.php
│ │ │ ├── smarty_internal_config.php
│ │ │ ├── smarty_internal_config_file_compiler.php
│ │ │ ├── smarty_internal_configfilelexer.php
│ │ │ ├── smarty_internal_configfileparser.php
│ │ │ ├── smarty_internal_data.php
│ │ │ ├── smarty_internal_debug.php
│ │ │ ├── smarty_internal_filter_handler.php
│ │ │ ├── smarty_internal_function_call_handler.php
│ │ │ ├── smarty_internal_get_include_path.php
│ │ │ ├── smarty_internal_nocache_insert.php
│ │ │ ├── smarty_internal_parsetree.php
│ │ │ ├── smarty_internal_resource_eval.php
│ │ │ ├── smarty_internal_resource_extends.php
│ │ │ ├── smarty_internal_resource_file.php
│ │ │ ├── smarty_internal_resource_php.php
│ │ │ ├── smarty_internal_resource_registered.php
│ │ │ ├── smarty_internal_resource_stream.php
│ │ │ ├── smarty_internal_resource_string.php
│ │ │ ├── smarty_internal_smartytemplatecompiler.php
│ │ │ ├── smarty_internal_template.php
│ │ │ ├── smarty_internal_templatebase.php
│ │ │ ├── smarty_internal_templatecompilerbase.php
│ │ │ ├── smarty_internal_templatelexer.php
│ │ │ ├── smarty_internal_templateparser.php
│ │ │ ├── smarty_internal_utility.php
│ │ │ ├── smarty_internal_write_file.php
│ │ │ ├── smarty_resource.php
│ │ │ ├── smarty_resource_custom.php
│ │ │ ├── smarty_resource_recompiled.php
│ │ │ ├── smarty_resource_uncompiled.php
│ │ │ └── smarty_security.php
│ │ ├── TemplateLite
│ │ ├── class.compiler.php
│ │ ├── class.config.php
│ │ ├── class.template.php
│ │ └── internal
│ │ │ ├── compile.compile_config.php
│ │ │ ├── compile.compile_custom_block.php
│ │ │ ├── compile.compile_custom_function.php
│ │ │ ├── compile.compile_if.php
│ │ │ ├── compile.generate_compiler_debug_output.php
│ │ │ ├── compile.include.php
│ │ │ ├── compile.parse_is_expr.php
│ │ │ ├── compile.section_start.php
│ │ │ ├── debug.tpl
│ │ │ ├── template.build_dir.php
│ │ │ ├── template.config_loader.php
│ │ │ ├── template.destroy_dir.php
│ │ │ ├── template.fetch_compile_include.php
│ │ │ └── template.generate_debug_output.php
│ │ ├── jsonRPC
│ │ ├── jsonRPCClient.php
│ │ └── jsonRPCServer.php
│ │ ├── phpRPC
│ │ ├── bigint.php
│ │ ├── compat.php
│ │ ├── dhparams.php
│ │ ├── dhparams
│ │ │ ├── 1024.dhp
│ │ │ ├── 128.dhp
│ │ │ ├── 1536.dhp
│ │ │ ├── 160.dhp
│ │ │ ├── 192.dhp
│ │ │ ├── 2048.dhp
│ │ │ ├── 256.dhp
│ │ │ ├── 3072.dhp
│ │ │ ├── 4096.dhp
│ │ │ ├── 512.dhp
│ │ │ ├── 768.dhp
│ │ │ └── 96.dhp
│ │ ├── pecl
│ │ │ └── xxtea
│ │ │ │ ├── CREDITS
│ │ │ │ ├── INSTALL
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README
│ │ │ │ ├── config.m4
│ │ │ │ ├── config.w32
│ │ │ │ ├── php_xxtea.c
│ │ │ │ ├── php_xxtea.dsp
│ │ │ │ ├── php_xxtea.h
│ │ │ │ ├── php_xxtea.sln
│ │ │ │ ├── php_xxtea.vcproj
│ │ │ │ ├── test
│ │ │ │ └── test.php
│ │ │ │ ├── xxtea.c
│ │ │ │ └── xxtea.h
│ │ ├── phprpc_client.php
│ │ ├── phprpc_date.php
│ │ ├── phprpc_server.php
│ │ └── xxtea.php
│ │ └── spyc
│ │ ├── COPYING
│ │ ├── README.md
│ │ ├── Spyc.php
│ │ ├── composer.json
│ │ ├── examples
│ │ ├── yaml-dump.php
│ │ └── yaml-load.php
│ │ ├── php4
│ │ ├── 5to4.php
│ │ ├── spyc.php4
│ │ └── test.php4
│ │ ├── spyc.yaml
│ │ └── tests
│ │ ├── DumpTest.php
│ │ ├── IndentTest.php
│ │ ├── ParseTest.php
│ │ ├── RoundTripTest.php
│ │ ├── comments.yaml
│ │ ├── failing1.yaml
│ │ ├── indent_1.yaml
│ │ └── quotes.yaml
├── Mode
│ ├── Api
│ │ ├── App.class.php
│ │ ├── Controller.class.php
│ │ ├── Dispatcher.class.php
│ │ └── functions.php
│ ├── Lite
│ │ ├── App.class.php
│ │ ├── Controller.class.php
│ │ ├── Dispatcher.class.php
│ │ ├── Model.class.php
│ │ ├── View.class.php
│ │ ├── convention.php
│ │ └── functions.php
│ ├── Sae
│ │ └── convention.php
│ ├── api.php
│ ├── common.php
│ ├── lite.php
│ └── sae.php
├── ThinkPHP.php
├── Tpl
│ ├── dispatch_jump.tpl
│ ├── page_trace.tpl
│ └── think_exception.tpl
└── logo.png
└── index.php
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
主页
17 | 18 |联系电话:{$phone}
42 |地址:{$address}
43 |您在{$myAddress}附近有家餐厅
28 | 32 | 33 | 34 |YAML Data dumped back:'; 22 | -------------------------------------------------------------------------------- /ThinkPHP/Library/Vendor/spyc/php4/5to4.php: -------------------------------------------------------------------------------- 1 | ', $code); 13 | $f = fopen ($dest, 'w'); 14 | fwrite($f, $code); 15 | fclose ($f); 16 | print "Written to $dest.\n"; 17 | } -------------------------------------------------------------------------------- /ThinkPHP/Library/Vendor/spyc/tests/IndentTest.php: -------------------------------------------------------------------------------- 1 | Y = Spyc::YAMLLoad("indent_1.yaml"); 11 | } 12 | 13 | public function testIndent_1() { 14 | $this->assertEquals (array ('child_1' => 2, 'child_2' => 0, 'child_3' => 1), $this->Y['root']); 15 | } 16 | 17 | public function testIndent_2() { 18 | $this->assertEquals (array ('child_1' => 1, 'child_2' => 2), $this->Y['root2']); 19 | } 20 | 21 | public function testIndent_3() { 22 | $this->assertEquals (array (array ('resolutions' => array (1024 => 768, 1920 => 1200), 'producer' => 'Nec')), $this->Y['display']); 23 | } 24 | 25 | public function testIndent_4() { 26 | $this->assertEquals (array ( 27 | array ('resolutions' => array (1024 => 768)), 28 | array ('resolutions' => array (1920 => 1200)), 29 | ), $this->Y['displays']); 30 | } 31 | 32 | public function testIndent_5() { 33 | $this->assertEquals (array (array ( 34 | 'row' => 0, 35 | 'col' => 0, 36 | 'headsets_affected' => array ( 37 | array ( 38 | 'ports' => array (0), 39 | 'side' => 'left', 40 | ) 41 | ), 42 | 'switch_function' => array ( 43 | 'ics_ptt' => true 44 | ) 45 | )), $this->Y['nested_hashes_and_seqs']); 46 | } 47 | 48 | public function testIndent_6() { 49 | $this->assertEquals (array ( 50 | 'h' => array ( 51 | array ('a' => 'b', 'a1' => 'b1'), 52 | array ('c' => 'd') 53 | ) 54 | ), $this->Y['easier_nest']); 55 | } 56 | 57 | public function testIndent_space() { 58 | $this->assertEquals ("By four\n spaces", $this->Y['one_space']); 59 | } 60 | 61 | public function testListAndComment() { 62 | $this->assertEquals (array ('one', 'two', 'three'), $this->Y['list_and_comment']); 63 | } 64 | 65 | } 66 | -------------------------------------------------------------------------------- /ThinkPHP/Library/Vendor/spyc/tests/comments.yaml: -------------------------------------------------------------------------------- 1 | foo: 'bar' #Comment 2 | arr: ['x', 'y', 'z'] # Comment here 3 | bar: kittens -------------------------------------------------------------------------------- /ThinkPHP/Library/Vendor/spyc/tests/failing1.yaml: -------------------------------------------------------------------------------- 1 | MyObject: 2 | Prop1: {key1:val1} -------------------------------------------------------------------------------- /ThinkPHP/Library/Vendor/spyc/tests/indent_1.yaml: -------------------------------------------------------------------------------- 1 | root: 2 | child_1: 2 3 | 4 | child_2: 0 5 | child_3: 1 6 | 7 | root2: 8 | child_1: 1 9 | # A comment 10 | child_2: 2 11 | 12 | displays: 13 | - resolutions: 14 | 1024: 768 15 | - resolutions: 16 | 1920: 1200 17 | 18 | display: 19 | - resolutions: 20 | 1024: 768 21 | 1920: 1200 22 | producer: "Nec" 23 | 24 | nested_hashes_and_seqs: 25 | - { row: 0, col: 0, headsets_affected: [{ports: [0], side: left}], switch_function: {ics_ptt: true} } 26 | 27 | easier_nest: { h: [{a: b, a1: b1}, {c: d}] } 28 | 29 | one_space: | 30 | By four 31 | spaces 32 | 33 | steps: 34 | - step: &id001 35 | instrument: Lasik 2000 36 | pulseEnergy: 5.4 37 | pulseDuration: 12 38 | repetition: 1000 39 | spotSize: 1mm 40 | - step: 41 | <<: *id001 42 | spotSize: 2mm 43 | 44 | death masks are: 45 | sad: 2 46 | <<: {magnificent: 4} 47 | 48 | login: &login 49 | adapter: mysql 50 | host: localhost 51 | 52 | development: 53 | database: rails_dev 54 | <<: *login 55 | 56 | "key": "value:" 57 | colon_only: ":" 58 | 59 | list_and_comment: [one, two, three] # comment 60 | kai: 61 | -example: value 62 | kai_list_of_items: 63 | - -item 64 | - '-item' 65 | -item -------------------------------------------------------------------------------- /ThinkPHP/Library/Vendor/spyc/tests/quotes.yaml: -------------------------------------------------------------------------------- 1 | html_tags: 2 | -
'; 20 | echo Spyc::YAMLDump($array); 21 | echo '
4 | html_content: 5 | -
hello world
6 | - hello:(
25 | 26 |FILE: LINE:
34 |ThinkPHP { Fast & Simple OOP PHP Framework } -- [ WE CAN DO IT JUST THINK ]
51 |