Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php match expression

echo match ($x) {
    0 => 'Car',
    1 => 'Bus',
    2 => 'Bike',
};
Source by www.datainfinities.com #
 
PREVIOUS NEXT
Tagged: #php #match #expression
ADD COMMENT
Topic
Name
8+4 =