3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file = tempnam('.', 'test'); file_put_contents($file, '[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" phpversion[] = "5.1" phpversion[] = "5.2" phpversion[] = "5.3" '); // Parse with sections $ini_array = parse_ini_file($file, true); print_r($ini_array);

preferences:
40.82 ms | 402 KiB | 5 Q