3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ ["id" => 0, "input_Data" => "Up to 15 Groups / Month"], ["id" => 1, "input_Data" => "Up to 60 CSV File Importing / Month"], ["id" => 2, "input_Data" => "Up to 15 SMTP Config"], ["id" => 3, "input_Data" => "Up to 20 Email Template Can Make"], ["id" => 4, "input_Data" => "Up to 150 Ai Writer Call / Month"], ["id" => 5, "input_Data" => "Markitach SMTP Limit 1000 Emails"] ]; $find = 3; $replace = "Up to the boss"; $index = array_find_key($array, fn($row) => $row['id'] === $find); if ($index !== null) { $array[$index]['input_Data'] = $replace; } var_export($array);
Output for git.master_jit, git.master
array ( 0 => array ( 'id' => 0, 'input_Data' => 'Up to 15 Groups / Month', ), 1 => array ( 'id' => 1, 'input_Data' => 'Up to 60 CSV File Importing / Month', ), 2 => array ( 'id' => 2, 'input_Data' => 'Up to 15 SMTP Config', ), 3 => array ( 'id' => 3, 'input_Data' => 'Up to the boss', ), 4 => array ( 'id' => 4, 'input_Data' => 'Up to 150 Ai Writer Call / Month', ), 5 => array ( 'id' => 5, 'input_Data' => 'Markitach SMTP Limit 1000 Emails', ), )

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:
42.42 ms | 406 KiB | 5 Q