File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,13 @@ $ascii = memc_get_instance ();
1515var_dump ($ binary ->set ('binary key with spaces ' , 'this is a test ' ));
1616var_dump ($ binary ->getResultCode () == Memcached::RES_BAD_KEY_PROVIDED );
1717
18- var_dump ($ binary ->set ('binarykeywith\nnewline ' , 'this is a test ' ));
18+ var_dump ($ binary ->set ('binarykeywithnewline ' . PHP_EOL , 'this is a test ' ));
1919var_dump ($ binary ->getResultCode () == Memcached::RES_BAD_KEY_PROVIDED );
2020
2121var_dump ($ ascii ->set ('ascii key with spaces ' , 'this is a test ' ));
2222var_dump ($ ascii ->getResultCode () == Memcached::RES_BAD_KEY_PROVIDED );
2323
24- var_dump ($ binary ->set ('asciikeywith\nnewline ' , 'this is a test ' ));
24+ var_dump ($ binary ->set ('asciikeywithnewline ' . PHP_EOL , 'this is a test ' ));
2525var_dump ($ binary ->getResultCode () == Memcached::RES_BAD_KEY_PROVIDED );
2626
2727var_dump ($ ascii ->set ('' /*empty key*/ , 'this is a test ' ));
You can’t perform that action at this time.
0 commit comments