Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php declare(strict_types=1); // formula, expectedResultExcel, expectedResultOpenOffic..
Decoded Output download
<?php
declare(strict_types=1);
// formula, expectedResultExcel, expectedResultOpenOffice
return [
[
'=TRUE',
true,
true,
],
[
'=1 + 2.5',
3.5,
3.5,
],
[
'=2.5 + 1',
3.5,
3.5,
],
[
'=1 - 2.5',
-1.5,
-1.5,
],
[
'=2.5 - 1',
1.5,
1.5,
],
[
'=3 > 1',
true,
true,
],
[
'=3 > 3',
false,
false,
],
[
'=1 > 3',
false,
false,
],
[
'=3 < 1',
false,
false,
],
[
'=3 < 3',
false,
false,
],
[
'=1 < 3',
true,
true,
],
[
'=3 = 1',
false,
false,
],
[
'=3 = 3',
true,
true,
],
[
'=1 = 1.0',
true,
true,
],
[
'=3 >= 1',
true,
true,
],
[
'=3 >= 3',
true,
true,
],
[
'=1 >= 3',
false,
false,
],
[
'=3 <= 1',
false,
false,
],
[
'=3 <= 3',
true,
true,
],
[
'=1 <= 3',
true,
true,
],
[
'=3 <> 1',
true,
true,
],
[
'=3 <> 3',
false,
false,
],
[
'=1 <> 1.0',
false,
false,
],
[
'="a" > "a"',
false,
false,
],
[
'="A" > "A"',
false,
false,
],
[
'="A" > "a"',
false,
true,
],
[
'="a" > "A"',
false,
false,
],
[
'="a" < "a"',
false,
false,
],
[
'="A" < "A"',
false,
false,
],
[
'="A" < "a"',
false,
false,
],
[
'="a" < "A"',
false,
true,
],
[
'="a" = "a"',
true,
true,
],
[
'="A" = "A"',
true,
true,
],
[
'="A" = "a"',
true,
false,
],
[
'="a" = "A"',
true,
false,
],
[
'="a" <= "a"',
true,
true,
],
[
'="A" <= "A"',
true,
true,
],
[
'="A" <= "a"',
true,
false,
],
[
'="a" <= "A"',
true,
true,
],
[
'="a" >= "a"',
true,
true,
],
[
'="A" >= "A"',
true,
true,
],
[
'="A" >= "a"',
true,
true,
],
[
'="a" >= "A"',
true,
false,
],
[
'="a" <> "a"',
false,
false,
],
[
'="A" <> "A"',
false,
false,
],
[
'="A" <> "a"',
false,
true,
],
[
'="a" <> "A"',
false,
true,
],
[
'= NULL = 0',
true,
true,
],
[
'= NULL < 0',
false,
false,
],
[
'= NULL <= 0',
true,
true,
],
[
'= NULL > 0',
false,
false,
],
[
'= NULL >= 0',
true,
true,
],
[
'= NULL <> 0',
false,
false,
],
[
'="A" > "b"',
false,
true,
],
[
'="a" > "b"',
false,
false,
],
[
'="b" > "a"',
true,
true,
],
[
'="b" > "A"',
true,
false,
],
// Test natural sorting is not used
[
'="a2" > "a10"',
true,
true,
],
];
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
// formula, expectedResultExcel, expectedResultOpenOffice
return [
[
'=TRUE',
true,
true,
],
[
'=1 + 2.5',
3.5,
3.5,
],
[
'=2.5 + 1',
3.5,
3.5,
],
[
'=1 - 2.5',
-1.5,
-1.5,
],
[
'=2.5 - 1',
1.5,
1.5,
],
[
'=3 > 1',
true,
true,
],
[
'=3 > 3',
false,
false,
],
[
'=1 > 3',
false,
false,
],
[
'=3 < 1',
false,
false,
],
[
'=3 < 3',
false,
false,
],
[
'=1 < 3',
true,
true,
],
[
'=3 = 1',
false,
false,
],
[
'=3 = 3',
true,
true,
],
[
'=1 = 1.0',
true,
true,
],
[
'=3 >= 1',
true,
true,
],
[
'=3 >= 3',
true,
true,
],
[
'=1 >= 3',
false,
false,
],
[
'=3 <= 1',
false,
false,
],
[
'=3 <= 3',
true,
true,
],
[
'=1 <= 3',
true,
true,
],
[
'=3 <> 1',
true,
true,
],
[
'=3 <> 3',
false,
false,
],
[
'=1 <> 1.0',
false,
false,
],
[
'="a" > "a"',
false,
false,
],
[
'="A" > "A"',
false,
false,
],
[
'="A" > "a"',
false,
true,
],
[
'="a" > "A"',
false,
false,
],
[
'="a" < "a"',
false,
false,
],
[
'="A" < "A"',
false,
false,
],
[
'="A" < "a"',
false,
false,
],
[
'="a" < "A"',
false,
true,
],
[
'="a" = "a"',
true,
true,
],
[
'="A" = "A"',
true,
true,
],
[
'="A" = "a"',
true,
false,
],
[
'="a" = "A"',
true,
false,
],
[
'="a" <= "a"',
true,
true,
],
[
'="A" <= "A"',
true,
true,
],
[
'="A" <= "a"',
true,
false,
],
[
'="a" <= "A"',
true,
true,
],
[
'="a" >= "a"',
true,
true,
],
[
'="A" >= "A"',
true,
true,
],
[
'="A" >= "a"',
true,
true,
],
[
'="a" >= "A"',
true,
false,
],
[
'="a" <> "a"',
false,
false,
],
[
'="A" <> "A"',
false,
false,
],
[
'="A" <> "a"',
false,
true,
],
[
'="a" <> "A"',
false,
true,
],
[
'= NULL = 0',
true,
true,
],
[
'= NULL < 0',
false,
false,
],
[
'= NULL <= 0',
true,
true,
],
[
'= NULL > 0',
false,
false,
],
[
'= NULL >= 0',
true,
true,
],
[
'= NULL <> 0',
false,
false,
],
[
'="A" > "b"',
false,
true,
],
[
'="a" > "b"',
false,
false,
],
[
'="b" > "a"',
true,
true,
],
[
'="b" > "A"',
true,
false,
],
// Test natural sorting is not used
[
'="a2" > "a10"',
true,
true,
],
];
Function Calls
None |
Stats
MD5 | 492c976194b41772a2290e5947c114aa |
Eval Count | 0 |
Decode Time | 75 ms |