Fatal error: Uncaught Error: Undefined constant "MCRYPT_RIJNDAEL_128" in /in/Wh5Pp:19
Stack trace:
#0 {main}
thrown in /in/Wh5Pp on line 19
Process exited with code 255.
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
Fatal error: Uncaught Error: Undefined constant "MCRYPT_RIJNDAEL_128" in /in/Wh5Pp:19
Stack trace:
#0 {main}
thrown in /in/Wh5Pp on line 19
Process exited with code 255.
Warning: Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128' (this will throw an Error in a future version of PHP) in /in/Wh5Pp on line 19
Warning: Use of undefined constant MCRYPT_MODE_CBC - assumed 'MCRYPT_MODE_CBC' (this will throw an Error in a future version of PHP) in /in/Wh5Pp on line 19
Fatal error: Uncaught Error: Call to undefined function mcrypt_get_block_size() in /in/Wh5Pp:13
Stack trace:
#0 /in/Wh5Pp(27): Foo->encrypt('\xFA\xBF\xD8-N\x1Db\x10\xFB\xEF\x9A\xF7\n\x0F\x84...', '@1B2c3D4e5F6g7H...', 'test@123')
#1 {main}
thrown in /in/Wh5Pp on line 13
Process exited with code 255.
Output for 7.0.6 - 7.0.20, 7.1.0 - 7.1.20
Notice: Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128' in /in/Wh5Pp on line 19
Notice: Use of undefined constant MCRYPT_MODE_CBC - assumed 'MCRYPT_MODE_CBC' in /in/Wh5Pp on line 19
Fatal error: Uncaught Error: Call to undefined function mcrypt_get_block_size() in /in/Wh5Pp:13
Stack trace:
#0 /in/Wh5Pp(27): Foo->encrypt('\xFA\xBF\xD8-N\x1Db\x10\xFB\xEF\x9A\xF7\n\x0F\x84...', '@1B2c3D4e5F6g7H...', 'test@123')
#1 {main}
thrown in /in/Wh5Pp on line 13
Process exited with code 255.
Notice: Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128' in /in/Wh5Pp on line 19
Notice: Use of undefined constant MCRYPT_MODE_CBC - assumed 'MCRYPT_MODE_CBC' in /in/Wh5Pp on line 19
Fatal error: Call to undefined function mcrypt_get_block_size() in /in/Wh5Pp on line 13
Process exited with code 255.