Answers for "how to switch to php from 7.2 to 7.1"

PHP
5

php switch 2 variables

switch ([$color, $size]) {
    case ['blue', 'small']:
        echo 'blue and small';
    break;

    case ['red', 'large'];
        echo 'red and large';
    break;
}
Posted by: Guest on November-16-2020

Code answers related to "how to switch to php from 7.2 to 7.1"

Browse Popular Code Answers by Language