3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach ( [ false, null, [], '', '0', '0.0' ] as $value ) { $value = implode( "\n", (array) $value ); if ( $value ) { $value = str_replace( ' ', "\n", $value ); } var_dump( $value ); }

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.4.10.0100.01019.19
8.3.140.0040.00417.43
8.3.130.0040.00418.66
8.3.120.0100.01018.79
8.3.110.0060.00320.94
8.3.100.0080.00016.43
8.3.90.0060.01226.77
8.3.80.0060.00316.38
8.3.70.0120.00316.58
8.3.60.0040.01116.32
8.3.50.0140.00318.32
8.3.40.0070.00718.68
8.3.30.0100.00718.79
8.3.20.0000.00724.18
8.3.10.0040.00424.66
8.3.00.0000.00826.16
8.2.260.0030.00816.46
8.2.250.0080.00016.44
8.2.240.0060.01217.09
8.2.230.0040.00422.58
8.2.220.0000.00824.06
8.2.210.0000.00826.77
8.2.200.0030.00618.41
8.2.190.0150.00316.58
8.2.180.0060.01225.92
8.2.170.0130.01018.79
8.2.160.0100.00322.96
8.2.150.0040.00425.66
8.2.140.0000.00824.66
8.2.130.0060.00326.16
8.2.120.0000.00721.18
8.2.110.0060.00319.31
8.2.100.0040.00817.72
8.2.90.0070.00417.72
8.2.80.0030.00619.02
8.2.70.0050.00317.63
8.2.60.0030.00517.50
8.2.50.0030.00617.50
8.2.40.0060.00319.22
8.2.30.0050.00319.14
8.2.20.0040.00418.05
8.2.10.0030.00620.95
8.2.00.0030.00519.18
8.1.310.0030.00516.76
8.1.300.0000.00918.55
8.1.290.0050.00530.84
8.1.280.0090.01225.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0000.01028.09
8.1.240.0000.00922.06
8.1.230.0080.00420.97
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0090.00017.23
8.1.190.0000.01117.18
8.1.180.0040.00418.10
8.1.170.0020.00517.62
8.1.160.0070.00420.56
8.1.150.0040.00418.87
8.1.140.0040.00418.74
8.1.130.0000.00717.30
8.1.120.0070.00017.29
8.1.110.0040.00417.39
8.1.100.0040.00417.29
8.1.90.0000.00717.33
8.1.80.0000.01017.30
8.1.70.0030.00617.41
8.1.60.0030.00617.59
8.1.50.0040.00417.40
8.1.40.0050.00217.55
8.1.30.0060.00317.48
8.1.20.0030.00517.65
8.1.10.0020.00517.40
8.1.00.0000.00817.39
8.0.300.0080.00020.01
8.0.290.0090.00016.63
8.0.280.0030.00318.38
8.0.270.0040.00416.76
8.0.260.0030.00316.75
8.0.250.0000.00816.87
8.0.240.0000.00616.80
8.0.230.0000.00716.93
8.0.220.0040.00416.74
8.0.210.0040.00416.71
8.0.200.0050.00216.78
8.0.190.0030.00316.90
8.0.180.0000.00716.76
8.0.170.0060.00316.71
8.0.160.0040.00416.88
8.0.150.0000.00816.80
8.0.140.0030.00316.79
8.0.130.0000.00513.29
8.0.120.0080.00016.78
8.0.110.0040.00416.77
8.0.100.0000.00716.88
8.0.90.0050.00216.63
8.0.80.0070.00916.81
8.0.70.0040.00416.80
8.0.60.0000.00716.82
8.0.50.0000.00716.64
8.0.30.0110.01016.70
8.0.20.0080.01516.86
8.0.10.0050.01016.86
8.0.00.0100.01216.96
7.4.330.0060.00015.55
7.4.320.0000.00716.52
7.4.300.0000.00716.59
7.4.290.0030.00516.44
7.4.280.0040.00416.57
7.4.270.0070.00016.64
7.4.260.0030.00313.23
7.4.250.0020.00516.38
7.4.240.0050.00216.46
7.4.230.0080.00016.55
7.4.220.0020.00516.70
7.4.210.0100.00516.52
7.4.200.0000.00716.50
7.4.160.0090.01216.77
7.4.150.0060.01216.61
7.4.140.0150.00416.55
7.4.130.0100.00716.42
7.4.120.0090.00916.41
7.4.110.0060.01516.41
7.4.100.0010.00516.57
7.4.90.0020.00216.48
7.4.80.0070.01416.37
7.4.70.0070.01516.47
7.4.60.0130.00216.40
7.4.50.0100.01416.34
7.4.40.0160.00316.50
7.4.30.0070.01316.53
7.4.20.0030.01316.48
7.4.10.0080.00816.45
7.4.00.0040.01316.53
7.3.330.0030.00316.08
7.3.320.0000.00513.07
7.3.310.0000.00816.33
7.3.300.0000.00616.29
7.3.290.0060.01216.26
7.3.270.0140.00716.17
7.3.260.0070.01716.26
7.3.250.0100.01016.31
7.3.240.0030.01516.21
7.3.230.0090.00616.22
7.3.220.0000.00016.21
7.3.210.0060.01516.18
7.3.200.0120.01016.19
7.3.190.0030.01816.08
7.3.180.0090.00916.24
7.3.170.0070.01316.18
7.3.160.0130.01016.24
7.3.150.0070.01316.20
7.3.140.0120.00816.18
7.3.130.0100.01016.30
7.3.120.0060.01316.20
7.3.110.0030.01316.02
7.3.100.0140.00716.15
7.3.90.0070.01016.50
7.3.80.0040.01416.27
7.3.70.0060.00916.30
7.3.60.0100.00716.48
7.3.50.0050.01216.32
7.3.40.0070.01416.33
7.3.30.0130.00716.35
7.3.20.0070.01116.39
7.3.10.0060.01516.36
7.3.00.0360.00616.27

preferences:
30.87 ms | 403 KiB | 5 Q