3v4l.org

run code in 300+ PHP versions simultaneously
<?php $matches = array(' protected $pkgVersion = \'1.1\';'); $exploded = explode('=', array_shift($matches)); $result = trim(array_pop($exploded), "\t ;'\""); var_dump($result);

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.40.0040.01118.54
8.3.30.0140.00018.95
8.3.20.0040.00420.30
8.3.10.0080.00023.28
8.3.00.0080.00019.08
8.2.170.0130.00722.96
8.2.160.0100.00320.39
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0050.00226.16
8.2.120.0040.00420.96
8.2.110.0060.00322.14
8.2.100.0030.00919.38
8.2.90.0080.00019.08
8.2.80.0060.00317.97
8.2.70.0040.00417.38
8.2.60.0090.00017.80
8.2.50.0040.00418.07
8.2.40.0030.00521.24
8.2.30.0080.00018.10
8.2.20.0000.00717.49
8.2.10.0070.00018.16
8.2.00.0040.00417.67
8.1.270.0000.00824.02
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0030.00622.01
8.1.230.0070.00319.01
8.1.220.0030.00617.74
8.1.210.0030.00518.77
8.1.200.0030.00617.23
8.1.190.0030.00517.25
8.1.180.0050.00318.10
8.1.170.0090.00018.59
8.1.160.0000.00721.95
8.1.150.0000.00718.62
8.1.140.0000.00717.39
8.1.130.0000.00717.80
8.1.120.0000.00717.41
8.1.110.0040.00417.45
8.1.100.0030.00517.44
8.1.90.0040.00317.45
8.1.80.0040.00417.38
8.1.70.0000.00617.27
8.1.60.0000.00717.56
8.1.50.0000.00817.43
8.1.40.0040.00417.48
8.1.30.0040.00417.57
8.1.20.0040.00417.64
8.1.10.0040.00417.54
8.1.00.0030.00517.30
8.0.300.0040.00418.77
8.0.290.0000.00717.18
8.0.280.0000.00718.36
8.0.270.0070.00017.13
8.0.260.0030.00317.22
8.0.250.0000.00716.82
8.0.240.0040.00416.79
8.0.230.0000.00716.88
8.0.220.0030.00316.80
8.0.210.0110.00016.84
8.0.200.0060.00016.81
8.0.190.0000.00816.78
8.0.180.0070.00016.86
8.0.170.0080.00016.75
8.0.160.0000.00816.76
8.0.150.0040.00416.79
8.0.140.0060.00316.82
8.0.130.0050.00013.21
8.0.120.0050.00316.82
8.0.110.0050.00316.84
8.0.100.0000.00816.88
8.0.90.0030.00516.89
8.0.80.0100.01116.87
8.0.70.0000.00716.77
8.0.60.0000.00716.77
8.0.50.0040.00416.75
8.0.30.0080.01016.88
8.0.20.0120.00617.40
8.0.10.0070.00016.88
8.0.00.0080.00916.76
7.4.330.0030.00315.00
7.4.320.0060.00016.49
7.4.300.0060.00016.52
7.4.290.0000.00716.42
7.4.280.0030.00316.57
7.4.270.0000.00716.44
7.4.260.0070.00016.42
7.4.250.0000.00716.50
7.4.240.0040.00416.50
7.4.230.0000.00716.27
7.4.220.0150.00316.43
7.4.210.0070.00816.48
7.4.200.0040.00416.51
7.4.190.0030.00316.31
7.4.160.0040.01116.32
7.4.150.0130.01317.40
7.4.140.0110.00917.86
7.4.130.0080.00816.39
7.4.120.0090.00916.39
7.4.110.0120.00416.35
7.4.100.0160.00616.44
7.4.90.0060.01016.38
7.4.80.0170.00719.39
7.4.70.0070.01016.46
7.4.60.0080.00916.35
7.4.50.0030.00616.44
7.4.40.0100.00616.41
7.4.30.0090.00916.44
7.4.00.0110.00415.04
7.3.330.0040.00213.01
7.3.320.0050.00013.03
7.3.310.0070.00016.09
7.3.300.0030.00316.12
7.3.290.0080.01216.13
7.3.280.0100.01016.12
7.3.270.0030.01317.40
7.3.260.0100.00716.23
7.3.250.0070.01316.13
7.3.240.0100.00716.35
7.3.230.0090.00616.39
7.3.210.0070.01416.35
7.3.200.0070.01019.39
7.3.190.0060.01616.36
7.3.180.0120.00916.50
7.3.170.0090.00716.27
7.3.160.0120.00416.18
7.3.120.0070.00714.71
7.2.330.0120.00616.57
7.2.320.0090.00916.60
7.2.310.0100.00616.31
7.2.300.0120.00616.30
7.2.290.0100.01316.51
7.2.00.0000.01519.37
7.1.100.0100.00618.01
7.1.70.0060.00617.14
7.1.60.0120.01219.46
7.1.50.0130.01016.89
7.1.00.0030.07722.35
7.0.200.0070.00016.36
7.0.140.0000.07021.95
7.0.60.0070.05019.90
7.0.50.0170.05717.91
7.0.40.0070.05320.00
7.0.30.0200.04320.16
7.0.20.0230.04320.21
7.0.10.0000.04720.12
7.0.00.0100.05320.09
5.6.280.0070.06721.02
5.6.210.0100.08020.50
5.6.200.0100.07718.12
5.6.190.0070.04020.57
5.6.180.0030.06320.45
5.6.170.0170.04020.52
5.6.160.0130.04720.38
5.6.150.0000.04718.11
5.6.140.0030.08718.18
5.6.130.0070.08318.14
5.6.120.0100.07721.11
5.6.110.0070.07721.11
5.6.100.0130.05721.13
5.6.90.0030.09021.11
5.6.80.0100.04720.50
5.5.350.3870.03720.40
5.5.340.0030.04717.96
5.5.330.0170.07020.40
5.5.320.0400.07720.31
5.5.310.0370.07320.28
5.5.300.0070.07718.00
5.5.290.0070.03717.95
5.5.280.0170.06720.66
5.5.270.0170.07320.88
5.5.260.0070.07020.83
5.5.250.0170.06320.77
5.5.240.0030.07320.22
5.4.450.0530.04724.76
5.4.440.0170.05021.99
5.4.430.0270.03319.48
5.4.420.0300.04019.41
5.4.410.0130.04319.41
5.4.400.0370.04018.93
5.4.390.0100.04319.06
5.4.380.0130.05718.66
5.4.370.0230.05018.73
5.4.360.0200.04718.49
5.4.350.0230.06718.62
5.4.340.0130.07718.39
5.4.320.0050.03812.45
5.4.310.0050.03912.45
5.4.300.0050.03912.45
5.4.290.0060.04212.45
5.4.280.0070.03812.35
5.4.270.0050.03912.35
5.4.260.0070.03912.34
5.4.250.0060.04812.34
5.4.240.0080.03512.35
5.4.230.0060.03812.34
5.4.220.0120.03412.34
5.4.210.0110.03312.33
5.4.200.0080.03712.34
5.4.190.0140.02912.33
5.4.180.0090.04612.34
5.4.170.0060.03912.34
5.4.160.0090.03612.34
5.4.150.0070.03612.34
5.4.140.0110.03812.02
5.4.130.0080.04912.01
5.4.120.0040.05311.97
5.4.110.0040.04211.96
5.4.100.0090.03711.96
5.4.90.0090.05211.96
5.4.80.0140.06211.96
5.4.70.0080.04211.96
5.4.60.0080.05111.96
5.4.50.0060.04811.96
5.4.40.0090.04111.95
5.4.30.0050.05011.95
5.4.20.0060.04211.95
5.4.10.0080.04811.95
5.4.00.0090.03811.44
5.3.290.0050.04012.80
5.3.280.0080.04512.71
5.3.270.0060.05012.72
5.3.260.0090.04412.72
5.3.250.0110.05012.72
5.3.240.0090.04412.72
5.3.230.0090.03812.71
5.3.220.0090.04412.68
5.3.210.0070.04412.68
5.3.200.0150.04212.68
5.3.190.0080.04312.68
5.3.180.0100.03812.67
5.3.170.0100.03712.67
5.3.160.0070.03812.67
5.3.150.0080.04612.67
5.3.140.0130.03912.66
5.3.130.0160.04412.66
5.3.120.0060.05312.66
5.3.110.0030.05512.66
5.3.100.0070.04112.12
5.3.90.0060.05212.09
5.3.80.0120.03912.08
5.3.70.0090.04012.07
5.3.60.0080.04012.07
5.3.50.0110.04312.00
5.3.40.0100.03812.00
5.3.30.0070.03811.95
5.3.20.0090.04011.72
5.3.10.0090.04911.69
5.3.00.0120.04711.68
5.2.170.0060.0439.18
5.2.160.0100.0389.18
5.2.150.0090.0379.18
5.2.140.0070.0369.18
5.2.130.0060.0399.13
5.2.120.0060.0379.13
5.2.110.0030.0329.14
5.2.100.0020.0339.14
5.2.90.0030.0309.14
5.2.80.0040.0359.14
5.2.70.0150.0269.13
5.2.60.0060.0369.09
5.2.50.0050.0379.05
5.2.40.0090.0309.03
5.2.30.0080.0319.01
5.2.20.0100.0279.00
5.2.10.0030.0398.92
5.2.00.0080.0348.78
5.1.60.0030.0288.06
5.1.50.0080.0228.05
5.1.40.0060.0238.04
5.1.30.0050.0388.39
5.1.20.0030.0418.41
5.1.10.0030.0288.13
5.1.00.0060.0278.14
5.0.50.0040.0286.61
5.0.40.0020.0206.48
5.0.30.0070.0336.29
5.0.20.0020.0236.26
5.0.10.0040.0236.23
5.0.00.0080.0336.23
4.4.90.0060.0144.77
4.4.80.0050.0184.75
4.4.70.0030.0254.75
4.4.60.0020.0234.75
4.4.50.0060.0154.77
4.4.40.0040.0294.71
4.4.30.0050.0154.75
4.4.20.0020.0204.84
4.4.10.0070.0144.85
4.4.00.0060.0294.76
4.3.110.0060.0194.67
4.3.100.0070.0184.67
4.3.90.0050.0194.63
4.3.80.0070.0294.58
4.3.70.0080.0184.63
4.3.60.0080.0154.63
4.3.50.0060.0184.63
4.3.40.0070.0224.54
4.3.30.0070.0163.28
4.3.20.0050.0193.26
4.3.10.0040.0203.21
4.3.00.0200.01715.90

preferences:
44.12 ms | 400 KiB | 5 Q