a:4:{i:0;s:3:"three";i:1;s:5:"five";i:2;s:2:"newline1
newline2";i:3;s:6:"garçon";}
---
fails to allow newline characers:
Warning: unserialize(): Error at offset 47 of 83 bytes in /in/Cf6Nh on line 11
false
fails to appropriately count bytes:
Warning: unserialize(): Error at offset 80 of 84 bytes in /in/Cf6Nh on line 14
false
---
USE THIS PATTERN WITH THIS REPLACEMENT:
'a:4:{i:0;s:5:"three";i:1;s:4:"five";i:2;s:17:"newline1
newline2";i:3;s:7:"garçon";}'
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
a:4:{i:0;s:3:"three";i:1;s:5:"five";i:2;s:2:"newline1
newline2";i:3;s:6:"garçon";}
---
fails to allow newline characers:
Warning: unserialize(): Error at offset 47 of 83 bytes in /in/Cf6Nh on line 11
false
fails to appropriately count bytes:
Warning: unserialize(): Error at offset 80 of 84 bytes in /in/Cf6Nh on line 14
false
---
USE THIS PATTERN WITH THIS REPLACEMENT:
'a:4:{i:0;s:5:"three";i:1;s:4:"five";i:2;s:17:"newline1
newline2";i:3;s:7:"garçon";}'
a:4:{i:0;s:3:"three";i:1;s:5:"five";i:2;s:2:"newline1
newline2";i:3;s:6:"garçon";}
---
fails to allow newline characers:
Notice: unserialize(): Error at offset 47 of 83 bytes in /in/Cf6Nh on line 11
false
fails to appropriately count bytes:
Notice: unserialize(): Error at offset 80 of 84 bytes in /in/Cf6Nh on line 14
false
---
USE THIS PATTERN WITH THIS REPLACEMENT:
'a:4:{i:0;s:5:"three";i:1;s:4:"five";i:2;s:17:"newline1
newline2";i:3;s:7:"garçon";}'
Output for 7.3.32 - 7.3.33
a:4:{i:0;s:3:"three";i:1;s:5:"five";i:2;s:2:"newline1
newline2";i:3;s:6:"garçon";}
---
fails to allow newline characers:
false
fails to appropriately count bytes:
false
---
USE THIS PATTERN WITH THIS REPLACEMENT:
'a:4:{i:0;s:5:"three";i:1;s:4:"five";i:2;s:17:"newline1
newline2";i:3;s:7:"garçon";}'