source: src/router/php7/Zend/tests/temporary_cleaning_008.phpt @ 31874

Last change on this file since 31874 was 31874, checked in by brainslayer, 2 months ago

update php

File size: 211 bytes
Line 
1--TEST--
2Optimization of constant switch expression
3--FILE--
4<?php
5try {
6        switch ("1" . (int)2) {
7                case 12:
8                        throw new Exception();
9        }
10} catch (Exception $e) {
11        echo "exception\n";
12}
13?>
14--EXPECT--
15exception
Note: See TracBrowser for help on using the repository browser.