- Fixed build on php-trunk
[m6w6/ext-http] / tests / allowed_methods_002.phpt
index 2185d8b3ca945dfa1f57a7a2de6bee5719324dca..993f92e59f1b9cb27afa72530a2af277154856af 100644 (file)
@@ -4,18 +4,18 @@ allowed methods
 <?php
 include 'skip.inc';
 checkcgi();
-checkmin(5.1);
+checkmin("5.2.5");
 ?>
 --FILE--
 <?php
 include 'log.inc';
 log_prepare(_AMETH_LOG);
-ini_set('http.allowed_methods', 'POST');
+ini_set('http.request.methods.allowed', 'POST');
 echo "Done\n";
 ?>
 --EXPECTF--
-Status: 405
-X-Powered-By: PHP/%s
+Status: 405%s
+X-Powered-By: PHP/%a
 Allow: POST
-Content-type: %s
+Content-type: %a