3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data_array = array(); $arrDataKeys = array( 'Student ID', 'First Name', 'Last Name', 'Employee Email', 'Student Email', 'Current Faculty', 'Current Student', 'Time Scanned' ); // Find out which keys we will save $arrSave = array(0, 2, 4); $arrSaveKeys = array_flip($arrSave); $data_array = array_intersect_key($arrDataKeys, $arrSaveKeys); var_dump($data_array);
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { [0]=> string(10) "Student ID" [2]=> string(9) "Last Name" [4]=> string(13) "Student Email" }

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:
34.12 ms | 401 KiB | 8 Q