6 ; Enable the PHP scripting language engine under Apache.
9 ; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
10 zend.ze1_compatibility_mode = Off
11 unserialize_callback_func=
12 date.default_latitude = 31.7667
19 test PHP.lns get conf =
22 { "safe_mode" = "Off" } }
24 { "#comment" = "Enable the PHP scripting language engine under Apache." }
27 { "#comment" = "Enable compatibility mode with Zend Engine 1 (PHP 4.x)" }
28 { "zend.ze1_compatibility_mode" = "Off" }
29 { "unserialize_callback_func" }
30 { "date.default_latitude" = "31.7667" }
33 { "sqlite.assoc_case" = "0" } }
35 test PHP.lns put conf after rm "noop" = conf
38 test PHP.lns get ";\n" = { ".anon" {} }
40 (* Section titles can have spaces *)
41 test PHP.lns get "[mail function]\n" = { "mail function" }
43 (* Keys can be lower and upper case *)
44 test PHP.lns get "[fake]
49 { "SMTP" = "localhost" }
50 { "mixed_KEY" = "25" } }
53 test PHP.lns get "session.save_path = \"3;/var/lib/php5\"\n" =
55 { "session.save_path" = "3;/var/lib/php5" } }
59 test PHP.lns get "php_admin_flag[log_errors] = on\n" =
61 { "php_admin_flag[log_errors]" = "on" } }