3v4l.org

run code in 300+ PHP versions simultaneously
<?php function getEntry(string $title, array $array) { if (array_key_exists($title, $array)) { return $title . ' ifadesinin değeri: ' . $array[$title] . '<br>'; } } $entries = []; $entries['nesne'] = 'Sınıf Örneği'; echo getEntry('nesne', $entries); $entries['şey'] = 'İsimsiz nesne'; echo getEntry('şey', $entries); print_r($entries); echo "<br>"; $entries['şey'] = null;

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.0060.01316.38
8.3.40.0150.00018.59
8.3.30.0070.00718.71
8.3.20.0000.00720.52
8.3.10.0040.00421.92
8.3.00.0050.00223.66
8.2.180.0090.00618.43
8.2.170.0090.00622.96
8.2.160.0030.01020.50
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0070.00320.62
8.2.110.0070.00320.94
8.2.100.0000.01118.34
8.2.90.0040.00419.48
8.2.80.0040.00417.97
8.2.70.0080.00018.16
8.2.60.0030.00618.16
8.2.50.0000.01019.38
8.2.40.0040.00422.20
8.2.30.0050.00219.20
8.2.20.0000.00818.05
8.2.10.0050.00318.11
8.2.00.0040.00418.25
8.1.280.0130.00625.92
8.1.270.0080.00020.20
8.1.260.0000.00826.35
8.1.250.0000.00928.09
8.1.240.0000.00922.18
8.1.230.0030.00722.13
8.1.220.0090.00017.79
8.1.210.0080.00018.77
8.1.200.0030.00617.35
8.1.190.0050.00317.35
8.1.180.0040.00418.10
8.1.170.0080.00018.71
8.1.160.0040.00418.77
8.1.150.0040.00420.15
8.1.140.0000.00718.91
8.1.130.0030.00320.88
8.1.120.0030.00517.38
8.1.110.0070.00017.48
8.1.100.0060.00317.50
8.1.90.0070.00017.33
8.1.80.0030.00317.52
8.1.70.0040.00417.48
8.1.60.0000.00817.49
8.1.50.0000.00717.43
8.1.40.0000.00817.58
8.1.30.0000.00817.63
8.1.20.0040.00417.51
8.1.10.0000.00817.47
8.1.00.0000.00817.55
8.0.300.0130.00419.39
8.0.290.0040.00416.75
8.0.280.0000.00818.47
8.0.270.0070.00016.88
8.0.260.0030.00517.27
8.0.250.0030.00316.87
8.0.240.0050.00616.84
8.0.230.0070.00316.98
8.0.220.0080.00016.93
8.0.210.0000.00716.91
8.0.200.0000.00816.94
8.0.190.0040.00416.88
8.0.180.0000.00816.91
8.0.170.0040.00416.82
8.0.160.0000.00716.82
8.0.150.0000.00716.74
8.0.140.0030.00316.86
8.0.130.0000.00513.41
8.0.120.0080.00016.93
8.0.110.0040.00416.89
8.0.100.0070.00016.79
8.0.90.0070.00016.94
8.0.80.0060.00916.82
8.0.70.0070.00016.95
8.0.60.0000.00716.93
8.0.50.0000.00716.79
8.0.30.0080.01116.96
8.0.20.0080.01017.40
8.0.10.0040.00416.86
8.0.00.0100.01616.96
7.4.330.0050.00015.55
7.4.320.0000.00616.61
7.4.300.0030.00316.53
7.4.290.0050.00216.62
7.4.280.0040.00416.52
7.4.270.0060.00316.38
7.4.260.0030.00616.55
7.4.250.0000.00716.53
7.4.240.0000.00816.61
7.4.230.0030.00316.43
7.4.220.0090.00916.57
7.4.210.0110.00416.57
7.4.200.0030.00316.50
7.4.160.0090.00716.52
7.4.150.0070.01117.40
7.4.140.0120.00817.86
7.4.130.0090.00916.59
7.4.120.0070.01216.54
7.4.110.0060.01216.50
7.4.100.0090.00916.42
7.4.90.0080.01016.53
7.4.80.0100.01019.39
7.4.70.0090.00616.53
7.4.60.0060.00916.64
7.4.50.0060.00616.39
7.4.40.0130.00416.40
7.4.30.0080.00816.47
7.4.00.0080.01014.83
7.3.330.0030.00313.34
7.3.320.0000.00813.31
7.3.310.0040.00416.26
7.3.300.0070.00016.23
7.3.290.0080.00516.34
7.3.280.0060.01216.32
7.3.270.0030.02017.40
7.3.260.0120.00816.46
7.3.250.0070.01016.39
7.3.240.0180.00416.46
7.3.230.0070.01316.59
7.3.210.0100.01016.45
7.3.200.0130.00316.56
7.3.190.0050.01016.62
7.3.180.0060.01616.41
7.3.170.0030.01416.53
7.3.160.0090.00916.49
7.3.120.0090.00614.90
7.3.110.0000.01614.64
7.3.100.0070.01015.10
7.3.90.0070.00715.10
7.3.80.0030.00614.95
7.3.70.0100.00314.64
7.3.60.0100.00014.79
7.3.50.0030.01315.03
7.3.40.0060.00314.97
7.3.30.0040.00814.95
7.3.20.0050.00316.63
7.3.10.0000.00816.48
7.3.00.0120.00616.75
7.2.330.0080.00816.53
7.2.320.0100.00716.69
7.2.310.0030.01216.52
7.2.300.0090.00916.65
7.2.290.0140.00716.45
7.2.250.0040.01415.11
7.2.240.0100.00715.17
7.2.230.0080.00614.81
7.2.220.0060.00915.20
7.2.210.0070.01114.91
7.2.200.0070.00715.04
7.2.190.0100.00314.96
7.2.180.0040.00415.00
7.2.170.0070.00315.02
7.2.160.0000.01115.05
7.2.150.0080.00816.97
7.2.140.0080.00516.95
7.2.130.0100.00316.86
7.2.120.0040.01116.73
7.2.110.0100.00516.60
7.2.100.0140.00316.88
7.2.90.0110.00417.02
7.2.80.0030.01016.73
7.2.70.0040.01516.96
7.2.60.0070.00516.87
7.2.50.0070.00716.71
7.2.40.0080.00817.07
7.2.30.0030.00716.86
7.2.20.0110.00416.98
7.2.10.0060.00617.08
7.2.00.0050.01018.20
7.1.330.0040.01215.93
7.1.320.0110.00015.64
7.1.310.0030.01015.48
7.1.300.0090.00315.59
7.1.290.0000.01315.98
7.1.280.0000.01715.85
7.1.270.0040.00715.48
7.1.260.0100.00315.61
7.1.250.0040.01115.90
7.1.240.0040.01215.72
7.1.230.0040.00815.88
7.1.220.0070.00415.63
7.1.210.0100.00715.87
7.1.200.0030.00815.71
7.1.190.0060.00615.69
7.1.180.0060.00615.84
7.1.170.0090.00615.71
7.1.160.0110.00415.80
7.1.150.0070.00315.94
7.1.140.0030.00715.87
7.1.130.0090.00315.66
7.1.120.0000.01315.91
7.1.110.0060.00615.68
7.1.100.0010.01317.07
7.1.90.0140.00015.89
7.1.80.0030.01115.77
7.1.70.0020.00916.32
7.1.60.0030.01216.63
7.1.50.0090.00616.41
7.1.40.0070.00415.92
7.1.30.0150.03626.04
7.1.20.0120.04326.09
7.1.10.0100.04218.12
7.1.00.0020.04518.30
7.0.330.0030.00615.29
7.0.320.0080.00015.45
7.0.310.0030.01215.46
7.0.300.0000.01215.41
7.0.290.0030.01215.21
7.0.280.0040.01115.19
7.0.270.0070.00715.67
7.0.260.0030.00615.43
7.0.250.0060.00615.41
7.0.240.0080.00815.36
7.0.230.0060.00615.64
7.0.220.0100.00315.50
7.0.210.0030.00915.42
7.0.200.0110.00216.16
7.0.190.0060.01015.38
7.0.180.0070.00715.62
7.0.170.0070.04017.74
7.0.160.1260.04117.79
7.0.150.0070.04017.64
7.0.140.0070.03517.67
7.0.130.0100.03417.83
7.0.120.0150.03917.79
7.0.110.0100.03517.79
7.0.100.0030.04017.84
7.0.90.0130.03317.79
7.0.80.0130.03317.88
7.0.70.1800.03817.91
7.0.60.0070.04017.66
7.0.50.0090.03717.82
7.0.40.0050.04116.86
7.0.30.0150.03016.80
7.0.20.0070.03516.76
7.0.10.0080.03216.84
7.0.00.0130.03116.84
5.6.400.0110.00314.33
5.6.390.0030.00714.39
5.6.380.0030.01014.45
5.6.370.0090.00914.54
5.6.360.0120.00314.66
5.6.350.0060.00314.36
5.6.340.0040.01514.49
5.6.330.0040.00414.53
5.6.320.0070.01014.45
5.6.310.0040.01114.44
5.6.300.0100.00614.12
5.6.290.0040.01214.45
5.6.280.0030.00914.45
5.6.270.0070.00314.34
5.6.260.0060.00314.44
5.6.250.0130.00014.41
5.6.240.0130.00314.45
5.6.230.0030.01014.36
5.6.220.0030.01014.26
5.6.210.0100.00014.26
5.6.200.0140.00014.38
5.6.190.0030.00614.10
5.6.180.0030.00614.26
5.6.170.0030.01014.10
5.6.160.0060.00314.29
5.6.150.0000.00914.20
5.6.140.0030.00614.45
5.6.130.0130.00314.31
5.6.120.0130.00314.32
5.6.110.0110.00314.47
5.6.100.0070.00314.27
5.6.90.0030.01314.41
5.6.80.0060.00314.40
5.6.70.0130.00014.49
5.6.60.0030.00914.17
5.6.50.0070.00414.18
5.6.40.0040.01114.54
5.6.30.0120.00314.15
5.6.20.0100.00714.16
5.6.10.0060.00914.17
5.6.00.0080.00414.21

preferences:
61.46 ms | 401 KiB | 5 Q