summaryrefslogtreecommitdiff
path: root/ext/mcrypt/tests/mcrypt_encrypt_variation5.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mcrypt/tests/mcrypt_encrypt_variation5.phpt')
-rw-r--r--ext/mcrypt/tests/mcrypt_encrypt_variation5.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/mcrypt/tests/mcrypt_encrypt_variation5.phpt b/ext/mcrypt/tests/mcrypt_encrypt_variation5.phpt
index 7ad6dd5f9a..028698b216 100644
--- a/ext/mcrypt/tests/mcrypt_encrypt_variation5.phpt
+++ b/ext/mcrypt/tests/mcrypt_encrypt_variation5.phpt
@@ -27,8 +27,8 @@ set_error_handler('test_error_handler');
// Initialise function arguments not being substituted (if any)
$cipher = MCRYPT_TRIPLEDES;
-$key = b"string_val\0\0\0\0\0\0\0\0\0\0\0\0\0\0";
-$data = b'string_val';
+$key = "string_val\0\0\0\0\0\0\0\0\0\0\0\0\0\0";
+$data = 'string_val';
//in php, it incorrectly reports problems with iv in ECB mode.
$mode = MCRYPT_MODE_CBC;
@@ -40,7 +40,7 @@ unset ($unset_var);
class classWithToString
{
public function __toString() {
- return b"Class A object";
+ return "Class A object";
}
}
@@ -49,7 +49,7 @@ class classWithoutToString
}
// heredoc string
-$heredoc = b<<<EOT
+$heredoc = <<<EOT
hello world
EOT;