3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hereIsMyInpput = ['oh' => 'ah']; //and I want this: //['oh' => 'wooooww']; //right now I have this: $output = $hereIsMyInpput; $output['oh'] = 'wheeeee'; //result isn't really what I need: var_dump($output); //and I don't know why?

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0070.00718.43
8.3.50.0150.00016.13
8.3.40.0070.00718.75
8.3.30.0140.00718.67
8.3.20.0060.00319.98
8.3.10.0070.00023.71
8.3.00.0090.00019.38
8.2.180.0100.00718.25
8.2.170.0130.00622.96
8.2.160.0200.00020.38
8.2.150.0070.00024.18
8.2.140.0000.00724.66
8.2.130.0080.00021.00
8.2.120.0000.00726.35
8.2.110.0090.00019.01
8.2.100.0090.00317.66
8.2.90.0080.00019.22
8.2.80.0040.00418.05
8.2.70.0070.00317.50
8.2.60.0080.00017.68
8.2.50.0030.00518.10
8.2.40.0040.00420.56
8.2.30.0040.00420.96
8.2.20.0040.00418.17
8.2.10.0070.00018.16
8.2.00.0000.00718.04
8.1.280.0030.01425.92
8.1.270.0000.00722.06
8.1.260.0000.00726.35
8.1.250.0050.00228.09
8.1.240.0040.00423.82
8.1.230.0070.00419.01
8.1.220.0040.00417.78
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0040.00417.23
8.1.180.0050.00218.10
8.1.170.0040.00418.59
8.1.160.0070.00018.89
8.1.150.0040.00420.66
8.1.140.0030.00619.51
8.1.130.0040.00417.38
8.1.120.0070.00017.44
8.1.110.0060.00617.38
8.1.100.0000.00717.38
8.1.90.0000.00717.41
8.1.80.0000.00717.40
8.1.70.0000.00717.42
8.1.60.0050.00317.45
8.1.50.0000.00817.48
8.1.40.0040.00417.50
8.1.30.0050.00317.65
8.1.20.0060.00317.48
8.1.10.0040.00417.41
8.1.00.0040.00417.33
8.0.300.0040.00418.77
8.0.290.0060.00316.75
8.0.280.0000.00718.38
8.0.270.0040.00416.67
8.0.260.0040.00416.80
8.0.250.0030.00316.80
8.0.240.0030.00516.81
8.0.230.0080.00016.92
8.0.220.0030.00316.89
8.0.210.0030.00316.81
8.0.200.0060.00016.75
8.0.190.0030.00716.91
8.0.180.0070.00016.72
8.0.170.0040.00416.78
8.0.160.0030.00616.75
8.0.150.0040.00416.74
8.0.140.0050.00316.84
8.0.130.0000.00513.22
8.0.120.0040.00416.75
8.0.110.0080.00016.73
8.0.100.0040.00416.87
8.0.90.0050.00216.67
8.0.80.0070.01016.75
8.0.70.0000.00716.93
8.0.60.0030.00616.86
8.0.50.0040.00416.70
8.0.30.0110.00517.02
8.0.20.0110.01417.40
8.0.10.0040.00416.90
8.0.00.0100.00716.73
7.4.330.0020.00215.55
7.4.320.0060.00016.39
7.4.300.0060.00016.55
7.4.290.0060.00316.51
7.4.280.0030.00516.52
7.4.270.0030.00316.34
7.4.260.0000.00616.36
7.4.250.0060.00316.30
7.4.240.0000.00816.41
7.4.230.0030.00316.61
7.4.220.0160.01016.50
7.4.210.0030.01216.39
7.4.200.0030.00316.53
7.4.160.0100.00816.44
7.4.150.0120.00617.40
7.4.140.0120.00617.86
7.4.130.0120.01216.23
7.4.120.0100.01016.44
7.4.110.0070.01116.51
7.4.100.0090.01216.40
7.4.90.0100.00716.59
7.4.80.0090.00919.39
7.4.70.0040.01116.43
7.4.60.0130.00316.30
7.4.50.0100.00716.45
7.4.40.0000.01616.39
7.4.30.0250.00416.55
7.4.00.0040.00814.81
7.3.330.0000.00513.08
7.3.320.0030.00313.18
7.3.310.0030.00316.20
7.3.300.0070.00016.19
7.3.290.0030.00316.29
7.3.280.0060.01016.21
7.3.270.0100.00717.40
7.3.260.0140.00316.43
7.3.250.0100.00716.23
7.3.240.0050.01316.40
7.3.230.0120.00616.49
7.3.210.0140.00316.71
7.3.200.0030.01616.18
7.3.190.0000.01616.54
7.3.180.0140.00316.43
7.3.170.0150.00016.36
7.3.160.0060.01116.34
7.3.120.0070.01014.38
7.3.110.0120.00314.55
7.3.100.0090.00914.89
7.3.90.0090.00914.96
7.3.80.0070.00714.62
7.3.70.0090.00914.68
7.3.60.0000.01014.58
7.3.50.0000.01114.83
7.3.40.0080.00414.86
7.3.30.0100.00014.48
7.3.20.0040.00716.48
7.3.10.0120.00916.76
7.3.00.0100.01016.73
7.2.330.0160.00616.67
7.2.320.0070.01016.39
7.2.310.0030.01316.69
7.2.300.0040.01216.72
7.2.290.0000.01616.52
7.2.250.0070.01015.08
7.2.240.0110.01115.03
7.2.230.0090.00914.91
7.2.220.0060.01214.79
7.2.210.0060.01015.07
7.2.200.0030.00914.73
7.2.190.0120.00414.80
7.2.180.0000.01514.96
7.2.170.0090.00014.83
7.2.60.0070.00716.75
7.1.330.0040.00815.56
7.1.320.0000.01715.69
7.1.310.0040.01415.75
7.1.300.0040.00815.88
7.1.290.0030.01015.73
7.1.280.0000.01615.79
7.1.270.0120.00315.78
7.1.260.0090.00615.80
7.1.200.0080.00315.71
7.1.70.0030.01016.95
7.1.60.0160.01235.12
7.1.50.0230.00734.59
7.1.40.0190.01034.24
7.1.30.0160.01334.38
7.1.20.0180.00934.63
7.1.10.0110.00316.46
7.1.00.0000.01216.68
7.0.200.0070.00716.65
7.0.190.0030.00916.81
7.0.180.0080.00616.31
7.0.170.0030.01016.24
7.0.160.0030.01016.00
7.0.150.0070.00716.37
7.0.140.0050.00916.23
7.0.130.0000.01316.57
7.0.120.0140.00016.48
7.0.110.0030.01016.46
7.0.100.0030.01016.27
7.0.90.0100.00316.35
7.0.80.0040.01116.45
7.0.70.0070.00716.21
7.0.60.0040.01116.16
7.0.50.0060.00816.45
7.0.40.0000.01316.75
7.0.30.0040.00816.49
7.0.20.0030.00916.54
7.0.10.0050.00816.36
7.0.00.0110.00616.36

preferences:
51.53 ms | 400 KiB | 5 Q