File tree 1 file changed +2
-2
lines changed
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 ();
15
15
var_dump ($ binary ->set ('binary key with spaces ' , 'this is a test ' ));
16
16
var_dump ($ binary ->getResultCode () == Memcached::RES_BAD_KEY_PROVIDED );
17
17
18
- var_dump ($ binary ->set ('binarykeywith\nnewline ' , 'this is a test ' ));
18
+ var_dump ($ binary ->set ('binarykeywithnewline ' . PHP_EOL , 'this is a test ' ));
19
19
var_dump ($ binary ->getResultCode () == Memcached::RES_BAD_KEY_PROVIDED );
20
20
21
21
var_dump ($ ascii ->set ('ascii key with spaces ' , 'this is a test ' ));
22
22
var_dump ($ ascii ->getResultCode () == Memcached::RES_BAD_KEY_PROVIDED );
23
23
24
- var_dump ($ binary ->set ('asciikeywith\nnewline ' , 'this is a test ' ));
24
+ var_dump ($ binary ->set ('asciikeywithnewline ' . PHP_EOL , 'this is a test ' ));
25
25
var_dump ($ binary ->getResultCode () == Memcached::RES_BAD_KEY_PROVIDED );
26
26
27
27
var_dump ($ ascii ->set ('' /*empty key*/ , 'this is a test ' ));
You can’t perform that action at this time.
0 commit comments