Carl Schwan :kde: on Nostr: What do you expect the following PHP code to return? 🙃 <?php $a = "0E1"; $b = ...
What do you expect the following PHP code to return? 🙃
<?php
$a = "0E1";
$b = "0E2";
echo ($a == $b ? "true" : "false");
Published at
2026-01-22 18:51:24 UTCEvent JSON
{
"id": "82e545df93ddd80e9f7f2d039738fc87a6cd975b95a79cc6aaaa53cf5f63586c",
"pubkey": "1e04ccf3fc6240281937f4fa9c996c88e37b2ce7f5755c1bff89eef52b7de397",
"created_at": 1769107884,
"kind": 1,
"tags": [
[
"proxy",
"https://kde.social/@carl/115940254348406585",
"web"
],
[
"proxy",
"https://kde.social/users/carl/statuses/115940254348406585",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://kde.social/users/carl/statuses/115940254348406585",
"pink.momostr"
],
[
"-"
]
],
"content": "What do you expect the following PHP code to return? 🙃 \n\n\u003c?php\n\n$a = \"0E1\";\n$b = \"0E2\";\n\necho ($a == $b ? \"true\" : \"false\");",
"sig": "074e01b7570377b40b839871d6586ec81ca59b23ef33e9499e0efa32a717a4da49569286440349827691e388b7a7db25fe6d1257e527ad5888c05eaba62562cd"
}