search

Home  >  Q&A  >  body text

Why do the same expressions in php and js output different results?

$d = 20;

echo $d ($d) ($d);

The result in PHP is 63

and in js the result is 62

Why is this?

违心违心1362 days ago853

reply all(1)I'll reply

  • Pluto.

    Pluto.2021-03-12 11:16:29

    when $d=21 21 21 21 =63

    reply
    0
  • Cancelreply