File manager - Edit - /opt/alt/tests/alt-php81-pecl-yaf_3.3.6-1.el8/tests/issue134.phpt
Back
--TEST-- ISSUE #134 (Segfault while calling assemble) --SKIPIF-- <?php if (!extension_loaded("yaf")) print "skip"; ?> --INI-- yaf.use_namespace=0 --FILE-- <?php $router = new Yaf_Router(); $route = new Yaf_Route_Rewrite( "/detail/:id", array( 'controller' => 'index', 'action' => 'detail', 'module' => 'kfc' ) ); $router->addRoute("kfc/index/detail", $route); print_r($router->getRoute('kfc/index/detail')->assemble( array( ':id' => '1', ) )); --EXPECTF-- /detail/1
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings