Answers for "php 8 match"

PHP
0

php 8 match

echo match (8.0) {
  '8.0' => "Oh no!",
  8.0 => "This is what I expected",
};
//> This is what I expected
Posted by: Guest on February-17-2021

Browse Popular Code Answers by Language