Server IP : 127.0.0.2 / Your IP : 18.222.26.253 Web Server : Apache/2.4.18 (Ubuntu) System : User : www-data ( ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/vendor/symfony/yaml/Tests/Fixtures/ |
Upload File : |
test: outside double quotes yaml: | \0 \ \a \b \n php: | "\\0 \\ \\a \\b \\n" --- test: null yaml: | "\0" php: | "\x00" --- test: bell yaml: | "\a" php: | "\x07" --- test: backspace yaml: | "\b" php: | "\x08" --- test: horizontal tab (1) yaml: | "\t" php: | "\x09" --- test: horizontal tab (2) yaml: | "\ " php: | "\x09" --- test: line feed yaml: | "\n" php: | "\x0a" --- test: vertical tab yaml: | "\v" php: | "\x0b" --- test: form feed yaml: | "\f" php: | "\x0c" --- test: carriage return yaml: | "\r" php: | "\x0d" --- test: escape yaml: | "\e" php: | "\x1b" --- test: space yaml: | "\ " php: | "\x20" --- test: slash yaml: | "\/" php: | "\x2f" --- test: backslash yaml: | "\\" php: | "\\" --- test: Unicode next line yaml: | "\N" php: | "\xc2\x85" --- test: Unicode non-breaking space yaml: | "\_" php: | "\xc2\xa0" --- test: Unicode line separator yaml: | "\L" php: | "\xe2\x80\xa8" --- test: Unicode paragraph separator yaml: | "\P" php: | "\xe2\x80\xa9" --- test: Escaped 8-bit Unicode yaml: | "\x42" php: | "B" --- test: Escaped 16-bit Unicode yaml: | "\u20ac" php: | "\xe2\x82\xac" --- test: Escaped 32-bit Unicode yaml: | "\U00000043" php: | "C" --- test: Example 5.13 Escaped Characters note: | Currently throws an error parsing first line. Maybe Symfony Yaml doesn't support continuation of string across multiple lines? Keeping test here but disabled. todo: true yaml: | "Fun with \\ \" \a \b \e \f \ \n \r \t \v \0 \ \ \_ \N \L \P \ \x41 \u0041 \U00000041" php: | "Fun with \x5C\n\x22 \x07 \x08 \x1B \x0C\n\x0A \x0D \x09 \x0B \x00\n\x20 \xA0 \x85 \xe2\x80\xa8 \xe2\x80\xa9\nA A A" --- test: Double quotes with a line feed yaml: | { double: "some value\n \"some quoted string\" and 'some single quotes one'" } php: | array( 'double' => "some value\n \"some quoted string\" and 'some single quotes one'" ) --- test: Backslashes yaml: | { single: 'foo\Var', no-quotes: foo\Var, double: "foo\\Var" } php: | array( 'single' => 'foo\Var', 'no-quotes' => 'foo\Var', 'double' => 'foo\Var' )