Test - PHP Online
Form of PHP Sandbox
Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php
in the places where the PHP script should be executed.
Result of php executing
Full code of Test.php
- <?php
- $key = '102810178';
- function encrypt($data) {
- return bin2hex(openssl_encrypt($data, 'AES-256-CBC', $key, 0, substr(md5($key), 8, 16)));
- }
- function decrypt($data) {
- return openssl_decrypt(hex2bin($data), 'AES-256-CBC', $key, 0, substr(md5($key), 8, 16));
- }
- echo encrypt('test');
File Description
- Test
- PHP Code
- 25 Dec-2020
- 291 Bytes
You can Share it:
Latest PHP Pastes