1--TEST--
2ResourceBundle double construction should not be allowed
3--EXTENSIONS--
4intl
5--FILE--
6<?php
7
8include "resourcebundle.inc";
9$r = new ResourceBundle('en_US', BUNDLE);
10try {
11    $r->__construct('en_US', BUNDLE);
12} catch (Error $e) {
13    echo $e->getMessage(), "\n";
14}
15
16?>
17--EXPECT--
18ResourceBundle object is already constructed
19