3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file = tempnam('.', 'test'); $fh = fopen($file, 'w+'); fwrite($fh, '[first_section] one = 1 five = 5 animal = BIRD [second_section] path = "/usr/local/bin" URL = "http://www.example.com/~username" [third_section] phpversion = ["5.0", "5.1"] '); fclose($fh); // Parse with sections $ini_array = parse_ini_file($file, true); print_r($ini_array);

preferences:
44.79 ms | 402 KiB | 5 Q