3v4l.org

run code in 300+ PHP versions simultaneously
<?php $getTheHistoricData = [ 0 => [ 'DeviceID' => '1', 'DeviceTimestamp' => '2018-09-22 00:00:11', 'LineTemp' => '22.2148', 'LineCurrent' => '232.562', 'RxRSSI' => '0' ], 1 => [ 'DeviceID' => '1', 'DeviceTimestamp' => '2018-09-22 00:00:33', 'LineTemp' => '22.2154', 'LineCurrent' => '234.672', 'RxRSSI' => '0' ], 2 => [ 'DeviceID' => '1', 'DeviceTimestamp' => '2018-09-22 00:00:55', 'LineTemp' => '22.2094', 'LineCurrent' => '233.954', 'RxRSSI' => '0' ] ]; $output = array_map(function($val){ return $val['DeviceID']; }, $getTheHistoricData); var_dump($output);
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { [0]=> string(1) "1" [1]=> string(1) "1" [2]=> string(1) "1" }

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:
31.71 ms | 405 KiB | 5 Q