PATH:
home
/
letacommog
/
slution01
/
wp-content
/
plugins
/
wordpress-seo
/
vendor
/
pimple
/
pimple
/
ext
/
pimple
/
tests
--TEST-- Test extend() with exception in service factory --SKIPIF-- <?php if (!extension_loaded("pimple")) print "skip"; ?> --FILE-- <?php $p = new Pimple\Container(); $p[12] = function ($v) { throw new BadMethodCallException; }; $c = $p->extend(12, function ($w) { return 'foobar'; }); try { $p[12]; echo "Exception expected"; } catch (BadMethodCallException $e) { } --EXPECTF--
[+]
..
[-] 004.phpt
[edit]
[-] 018.phpt
[edit]
[-] 014.phpt
[edit]
[-] 008.phpt
[edit]
[-] 010.phpt
[edit]
[-] 017_1.phpt
[edit]
[-] 015.phpt
[edit]
[-] 009.phpt
[edit]
[-] 011.phpt
[edit]
[-] 005.phpt
[edit]
[-] 019.phpt
[edit]
[-] 001.phpt
[edit]
[-] 017.phpt
[edit]
[-] 013.phpt
[edit]
[-] 007.phpt
[edit]
[-] 003.phpt
[edit]
[-] bench.phpb
[edit]
[-] 006.phpt
[edit]
[-] 002.phpt
[edit]
[-] 016.phpt
[edit]
[-] bench_shared.phpb
[edit]
[-] 012.phpt
[edit]