Skip to content

Commit 4e4218b

Browse files
committed
Merge branch 'master' of git://github.com/php/php-src into mcrypt-dep-funcs
2 parents cc2d139 + 018395e commit 4e4218b

File tree

50 files changed

+195
-38
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+195
-38
lines changed

Zend/tests/try_catch_finally_002.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Try catch finally
2+
Try catch finally catch(multi catch blocks)
33
--FILE--
44
<?php
55

Zend/tests/try_catch_finally_003.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Try catch finally
2+
Try catch finally (multi catch blocks with return)
33
--FILE--
44
<?php
55

Zend/tests/try_catch_finally_004.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Try catch finally
2+
Try catch finally (re-throw exception in catch block)
33
--CREDITS--
44
adoy
55
--FILE--

Zend/tests/try_finally_004.phpt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
--TEST--
2+
Try without catch/finally block
3+
--FILE--
4+
<?php
5+
function foo () {
6+
try {
7+
echo "3";
8+
}
9+
}
10+
11+
foo();
12+
?>
13+
--EXPECTF--
14+
Fatal error: Cannot use try without catch or finally in %stry_finally_004.php on line %d

ext/exif/tests/bug60150.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var_dump(exif_read_data($infile));
1212
?>
1313
===DONE===
1414
--EXPECTF--
15-
Warning: exif_read_data(bug60150.jpg): Process tag(x9003=DateTimeOri): Illegal pointer offset(x%x + x%x = x%x > x%x) in %s on line %d
15+
Warning: exif_read_data(bug60150.jpg): Process tag(x9003=DateTimeOri): Illegal pointer offset(%s) in %s on line %d
1616

1717
Warning: exif_read_data(bug60150.jpg): Error reading from file: got=x%x(=%d) != itemlen-%d=x%x(=%d) in %s on line %d
1818

ext/intl/tests/breakiter___construct.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
--TEST--
22
IntlBreakIterator::__construct() should not be callable
33
--SKIPIF--
4+
<?php
45
if (!extension_loaded('intl'))
56
die('skip intl extension not enabled');
67
--FILE--

ext/intl/tests/breakiter_clone_basic.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
--TEST--
22
IntlBreakIterator: clone handler
3+
--SKIPIF--
4+
<?php
5+
if (!extension_loaded('intl'))
6+
die('skip intl extension not enabled');
37
--FILE--
48
<?php
59
ini_set("intl.error_level", E_WARNING);

ext/intl/tests/breakiter_current_basic.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
--TEST--
22
IntlBreakIterator::current(): basic test
3+
--SKIPIF--
4+
<?php
5+
if (!extension_loaded('intl'))
6+
die('skip intl extension not enabled');
37
--FILE--
48
<?php
59
ini_set("intl.error_level", E_WARNING);

ext/intl/tests/breakiter_factories_basic.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
--TEST--
22
IntlBreakIterator factories: basic tests
33
--SKIPIF--
4+
<?php
45
if (!extension_loaded('intl'))
56
die('skip intl extension not enabled');
67
--FILE--

ext/intl/tests/breakiter_factories_error.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
--TEST--
22
IntlBreakIterator factory methods: argument errors
3+
--SKIPIF--
4+
<?php
5+
if (!extension_loaded('intl'))
6+
die('skip intl extension not enabled');
37
--FILE--
48
<?php
59
ini_set("intl.error_level", E_WARNING);

0 commit comments

Comments
 (0)