PATH:
home
/
letacommog
/
slution01
/
wp-content
/
plugins
/
wordpress-seo
/
vendor
/
pimple
/
pimple
/
ext
/
pimple
/
tests
--TEST-- Test service is called as callback, and only once --SKIPIF-- <?php if (!extension_loaded("pimple")) print "skip"; ?> --FILE-- <?php $p = new Pimple\Container(); $p['foo'] = function($arg) use ($p) { var_dump($p === $arg); }; $a = $p['foo']; $b = $p['foo']; /* should return not calling the callback */ ?> --EXPECTF-- bool(true)
[+]
..
[-] 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]