3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo time(); for($i = 1; $i <= 100000; $i++) { if ($i%2==0) { $pom=utf8_encode('zvcxvxcv23423KJH2345egr dfghdfg345 34534'); } } echo '/n'; echo time();

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)
7.4.10.0100.01316.48
7.4.00.0030.02016.45
7.3.130.0100.01416.36
7.3.120.0100.02016.23
7.3.110.0120.00916.48
7.3.100.0090.02116.14
7.3.90.0060.01616.30
7.3.80.0030.01716.47
7.3.70.0000.02716.38
7.3.60.0000.02216.28
7.3.50.0030.01416.19
7.3.40.0060.01316.13
7.3.30.0140.00916.32
7.3.20.0080.01518.25
7.3.10.0040.01517.18
7.3.00.0060.01517.17
7.2.260.0090.01916.57
7.2.250.0070.02016.34
7.2.240.0070.01716.52
7.2.230.0030.02016.42
7.2.220.0030.01916.50
7.2.210.0070.01316.50
7.2.200.0040.02216.41
7.2.190.0060.02116.58
7.2.180.0000.01916.56
7.2.170.0130.01616.57
7.2.160.0060.02116.46
7.2.150.0130.01318.24
7.2.140.0030.02618.30
7.2.130.0080.01417.44
7.2.120.0080.01517.49
7.2.110.0030.01517.43
7.2.100.0020.01517.19
7.2.90.0030.02117.57
7.2.80.0060.01817.63
7.2.70.0120.01517.38
7.2.60.0110.01617.33
7.2.50.0100.01017.52
7.2.40.0080.01317.56
7.2.30.0110.01517.50
7.2.20.0110.01417.51
7.2.10.0070.01817.54
7.2.00.0050.01618.20
7.1.330.0070.02617.40
7.1.320.0090.02217.39
7.1.310.0060.02217.18
7.1.300.0070.02617.26
7.1.290.0000.03017.32
7.1.280.0060.02617.30
7.1.270.0070.03417.38
7.1.260.0070.02517.34
7.1.250.0050.02316.37
7.1.240.0030.02517.30
7.1.230.0030.02717.16
7.1.220.0030.02717.29
7.1.210.0100.02817.36
7.1.200.0060.02917.24
7.1.190.0030.03117.23
7.1.180.0100.02917.23
7.1.170.0030.02217.07
7.1.160.0000.03917.31
7.1.150.0070.02317.21
7.1.140.0120.02117.16
7.1.130.0070.02717.36
7.1.120.0100.02417.32
7.1.110.0060.03217.28
7.1.100.0070.02217.67
7.1.90.0000.03717.37
7.1.80.0100.02317.34
7.1.70.0050.02017.29
7.1.60.0530.03025.30
7.1.50.0700.02625.03
7.1.40.0480.03524.87
7.1.30.0380.02225.02
7.1.20.0330.02624.97
7.1.10.0280.02416.13
7.1.00.0500.03016.07
7.0.330.0030.03016.88
7.0.320.0100.03016.88
7.0.310.0060.02816.64
7.0.300.0130.03316.86
7.0.290.0060.03716.97
7.0.280.0090.03016.92
7.0.270.0030.02816.86
7.0.260.0120.01816.87
7.0.250.0100.01616.99
7.0.240.0130.02616.83
7.0.230.0000.03217.04
7.0.220.0070.02417.08
7.0.210.0040.02817.10
7.0.200.0420.02816.02
7.0.190.0480.02316.04
7.0.180.0100.02216.68
7.0.170.0430.02515.77
7.0.160.0320.02215.79
7.0.150.0720.04116.65
7.0.140.0330.02515.74
7.0.130.0430.03515.97
7.0.120.0470.02415.96
7.0.110.0520.02715.67
7.0.100.0370.02915.84
7.0.90.0300.02615.78
7.0.80.0500.03115.71
7.0.70.0480.02816.57
7.0.60.0130.02516.59
7.0.50.0520.02815.69
7.0.40.0060.02615.78
7.0.30.0380.03114.83
7.0.20.0370.02314.76
7.0.10.0320.02514.77
7.0.00.0300.02914.76
5.6.400.0100.03316.28
5.6.390.0070.04616.00
5.6.380.0130.03116.22
5.6.370.0070.03916.12
5.6.360.0140.04216.06
5.6.350.0030.04616.09
5.6.340.0000.05416.08
5.6.330.0070.04015.88
5.6.320.0030.04216.12
5.6.310.0100.03316.05
5.6.300.0100.03416.23
5.6.290.0030.04916.37
5.6.280.0030.04616.37
5.6.270.0030.03816.26
5.6.260.0070.04715.99
5.6.250.0030.04016.33
5.6.240.0030.03916.14
5.6.230.0030.03916.06
5.6.220.0100.03216.15
5.6.210.0030.03916.16
5.6.200.0060.03516.24
5.6.190.0100.03515.92
5.6.180.0070.03716.29
5.6.170.0100.03316.18
5.6.160.0030.03815.89
5.6.150.0070.03616.14
5.6.140.0030.04116.33
5.6.130.0060.03716.09
5.6.120.0030.03816.04
5.6.110.0100.02916.05
5.6.100.0090.03516.05
5.6.90.0030.03915.82
5.6.80.0070.03615.91
5.6.70.0100.03315.80
5.6.60.0100.04316.01
5.6.50.0100.03815.98
5.6.40.0070.03616.07
5.6.30.0040.03916.05
5.6.20.0000.05315.95
5.6.10.0030.04216.11
5.6.00.0000.04516.00

preferences:
38.42 ms | 400 KiB | 5 Q