3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a=array("red","green"); array_push($a , "\xF0\x9F\x94\x99"); print_r($a); ?>

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.0100.00716.75
8.3.50.0070.00716.21
8.3.40.0110.00418.59
8.3.30.0070.00718.60
8.3.20.0000.00720.16
8.3.10.0000.00721.91
8.3.00.0080.00020.89
8.2.180.0120.00918.39
8.2.170.0090.00922.96
8.2.160.0100.00322.09
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0050.00222.17
8.2.120.0000.00726.35
8.2.110.0060.00320.53
8.2.100.0080.00417.84
8.2.90.0000.00819.14
8.2.80.0050.00317.97
8.2.70.0090.00017.50
8.2.60.0000.00817.80
8.2.50.0000.00818.10
8.2.40.0050.00320.48
8.2.30.0000.00820.85
8.2.20.0070.00017.98
8.2.10.0000.00718.05
8.2.00.0040.00418.03
8.1.280.0060.01225.92
8.1.270.0030.00523.87
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0000.00922.12
8.1.230.0110.00318.89
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0040.00417.23
8.1.190.0050.00317.23
8.1.180.0040.00418.10
8.1.170.0050.00318.58
8.1.160.0000.00718.88
8.1.150.0050.00218.87
8.1.140.0000.00819.50
8.1.130.0040.00418.70
8.1.120.0040.00417.31
8.1.110.0080.00017.28
8.1.100.0030.00617.35
8.1.90.0070.00017.39
8.1.80.0030.00317.30
8.1.70.0030.00317.37
8.1.60.0030.00617.39
8.1.50.0040.00417.42
8.1.40.0080.00017.33
8.1.30.0060.00317.61
8.1.20.0040.00417.58
8.1.10.0030.00517.47
8.1.00.0000.00717.41
8.0.300.0000.00919.89
8.0.290.0040.00416.75
8.0.280.0040.00418.38
8.0.270.0000.00817.14
8.0.260.0040.00416.74
8.0.250.0070.00016.81
8.0.240.0030.00316.63
8.0.230.0030.00316.84
8.0.220.0070.00016.70
8.0.210.0000.00816.70
8.0.200.0000.00616.77
8.0.190.0030.00716.79
8.0.180.0060.00316.84
8.0.170.0040.00416.84
8.0.160.0040.00416.71
8.0.150.0070.00016.77
8.0.140.0000.00716.79
8.0.130.0030.00413.22
8.0.120.0040.00416.80
8.0.110.0030.00516.67
8.0.100.0070.00016.86
8.0.90.0040.00416.94
8.0.80.0090.00916.79
8.0.70.0000.00716.81
8.0.60.0080.00016.82
8.0.50.0050.00316.93
8.0.30.0160.00016.95
8.0.20.0140.02317.40
8.0.10.0070.00016.88
8.0.00.0170.00416.89
7.4.330.0030.00315.55
7.4.320.0060.00016.57
7.4.300.0060.00016.51
7.4.290.0080.00016.54
7.4.280.0000.00716.43
7.4.270.0000.00716.58
7.4.260.0030.00316.42
7.4.250.0070.00016.31
7.4.240.0030.00316.34
7.4.230.0000.00716.60
7.4.220.0100.01016.57
7.4.210.0080.00716.49
7.4.200.0030.00316.45
7.4.160.0110.00616.46
7.4.150.0060.01217.40
7.4.140.0080.01017.86
7.4.130.0170.01016.42
7.4.120.0090.00916.39
7.4.110.0060.01416.42
7.4.100.0090.00816.50
7.4.90.0190.00416.34
7.4.80.0040.01219.39
7.4.70.0040.01216.41
7.4.60.0000.01516.49
7.4.50.0070.01116.39
7.4.40.0060.01116.44
7.4.30.0000.01716.34
7.4.00.0090.00615.05
7.3.330.0060.00012.98
7.3.320.0050.00013.06
7.3.310.0030.00316.09
7.3.300.0000.00716.18
7.3.290.0070.00016.00
7.3.280.0110.00716.12
7.3.270.0070.01017.40
7.3.260.0110.00716.17
7.3.250.0100.00916.23
7.3.240.0080.00916.29
7.3.230.0000.01816.42
7.3.210.0080.00816.24
7.3.200.0150.00616.32
7.3.190.0060.00916.18
7.3.180.0110.01016.26
7.3.170.0170.00016.47
7.3.160.0150.00716.49
7.2.330.0080.00816.31
7.2.320.0100.01216.61
7.2.310.0030.01316.58
7.2.300.0070.01016.40
7.2.290.0070.01016.49
7.2.60.0060.00916.76
7.2.00.0000.01419.36
7.1.200.0090.00615.75
7.1.100.0030.01017.66
7.1.70.0030.00717.13
7.1.60.0670.01033.23
7.1.50.0900.00733.01
7.1.40.0730.02032.50
7.1.30.0500.02332.41
7.1.20.1370.00732.66
7.1.10.0900.00314.64
7.1.00.0670.01014.75
7.0.200.0670.01314.57
7.0.190.0730.01014.75
7.0.180.0630.01014.55
7.0.170.0600.01314.22
7.0.160.0530.01014.11
7.0.150.0730.01014.51
7.0.140.0500.00714.38
7.0.130.0600.00714.76
7.0.120.0570.00714.52
7.0.110.0570.01014.16
7.0.100.0800.01314.30
7.0.90.0800.01714.43
7.0.80.0730.00314.19
7.0.70.0770.01314.35
7.0.60.0830.00714.22
7.0.50.0730.01014.47
7.0.40.0830.01314.61
7.0.30.0870.01314.49
7.0.20.0730.01314.42
7.0.10.0630.00714.57
7.0.00.0800.01314.59

preferences:
39.02 ms | 401 KiB | 5 Q