3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = '(-6.268649975971238, 106.69106266990389),(-6.267711482694832, 106.72625325217928),(-6.288272630052733, 106.72736905112947),(-6.288699201273463, 106.69106266990389)'; foreach(explode('),(',trim($value,'()')) as $single_array){ $polygon[] = explode(',',$single_array); } var_export($polygon);
Output for git.master_jit, git.master, rfc.property-hooks
array ( 0 => array ( 0 => '-6.268649975971238', 1 => ' 106.69106266990389', ), 1 => array ( 0 => '-6.267711482694832', 1 => ' 106.72625325217928', ), 2 => array ( 0 => '-6.288272630052733', 1 => ' 106.72736905112947', ), 3 => array ( 0 => '-6.288699201273463', 1 => ' 106.69106266990389', ), )

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
86.22 ms | 406 KiB | 5 Q