3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mutex = new SyncMutex("UniqueName"); if (!$mutex->lock(3000)) { echo "Unable to lock mutex."; exit(); } /* ... */ $mutex->unlock();

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.20.0100.01017.62
8.4.10.0100.00717.92
8.3.150.0000.00818.82
8.3.140.0090.00020.68
8.3.130.0080.00018.37
8.3.120.0090.00018.89
8.3.110.0040.00420.94
8.3.100.0040.00416.46
8.3.90.0080.00026.77
8.3.80.0040.00416.50
8.3.70.0120.00916.63
8.3.60.0100.01018.55
8.3.50.0100.01021.96
8.3.40.0090.00618.86
8.3.30.0080.00619.14
8.3.20.0070.00720.07
8.3.10.0040.00420.54
8.3.00.0040.00419.38
8.2.270.0150.00316.95
8.2.260.0120.00622.30
8.2.250.0030.00518.56
8.2.240.0000.01516.92
8.2.230.0000.00722.58
8.2.220.0060.00337.54
8.2.210.0060.00326.77
8.2.200.0030.00616.63
8.2.190.0150.00016.63
8.2.180.0140.00718.66
8.2.170.0110.00718.87
8.2.160.0100.00322.96
8.2.150.0000.00725.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00422.23
8.2.110.0090.00020.57
8.2.100.0110.00017.78
8.2.90.0050.00317.84
8.2.80.0040.00419.02
8.2.70.0000.00917.63
8.2.60.0030.00617.80
8.2.50.0030.00518.07
8.2.40.0050.00218.09
8.2.30.0000.00819.11
8.2.20.0040.00417.75
8.2.10.0000.00817.87
8.2.00.0000.00917.72
8.1.310.0100.00718.46
8.1.300.0040.01118.17
8.1.290.0060.00330.84
8.1.280.0130.00725.92
8.1.270.0060.00323.82
8.1.260.0050.00226.35
8.1.250.0000.00728.09
8.1.240.0080.00020.94
8.1.230.0100.00320.97
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0060.00317.23
8.1.190.0040.00417.13
8.1.180.0050.00318.10
8.1.170.0060.00318.47
8.1.160.0070.00021.85
8.1.150.0000.00818.79
8.1.140.0050.00317.31
8.1.130.0030.00317.70
8.1.120.0000.00717.39
8.1.110.0000.00717.33
8.1.100.0000.00717.23
8.1.90.0020.00517.34
8.1.80.0040.00417.32
8.1.70.0040.00417.31
8.1.60.0060.00317.48
8.1.50.0080.00017.43
8.1.40.0040.00417.48
8.1.30.0040.00417.49
8.1.20.0040.00417.59
8.1.10.0070.00017.49
8.1.00.0000.00717.43
8.0.300.0030.00619.86
8.0.290.0000.00716.63
8.0.280.0050.00218.41
8.0.270.0000.00817.21
8.0.260.0060.00017.19
8.0.250.0000.00816.88
8.0.240.0000.00716.91
8.0.230.0030.00316.85
8.0.220.0030.00316.79
8.0.210.0040.00416.92
8.0.200.0060.00016.91
8.0.190.0000.00816.93
8.0.180.0040.00416.93
8.0.170.0000.00716.80
8.0.160.0030.00316.81
8.0.150.0040.00416.83
8.0.140.0110.00016.72
8.0.130.0060.00313.28
8.0.120.0000.00716.72
8.0.110.0030.00516.74
8.0.100.0000.00716.94
8.0.90.0000.00916.71
8.0.80.0070.01016.78
8.0.70.0040.00416.95
8.0.60.0070.00016.77
8.0.50.0000.00716.90
8.0.30.0100.00916.92
8.0.20.0100.00917.40
8.0.10.0070.00016.79
8.0.00.0150.00516.84
7.4.330.0000.00515.00
7.4.320.0030.00316.31
7.4.300.0030.00316.42
7.4.290.0000.00716.39
7.4.280.0070.00316.51
7.4.270.0000.00716.42
7.4.260.0000.00716.52
7.4.250.0040.00416.34
7.4.240.0020.00516.46
7.4.230.0030.00316.62
7.4.220.0070.01116.37
7.4.210.0030.01216.50
7.4.200.0070.00016.44
7.4.160.0150.00916.34
7.4.150.0130.01017.40
7.4.140.0120.00717.86
7.4.130.0120.00616.59
7.4.120.0110.00516.36
7.4.110.0090.00616.57
7.4.100.0110.01116.65
7.4.90.0070.01716.37
7.4.80.0070.01718.80
7.4.70.0030.01516.42
7.4.60.0110.00816.51
7.4.50.0040.00416.63
7.4.40.0130.00316.51
7.4.30.0130.00716.57
7.4.10.0100.00714.86
7.4.00.0070.01014.96
7.3.330.0050.00013.19
7.3.320.0050.00013.02
7.3.310.0000.00616.34
7.3.300.0000.00716.16
7.3.290.0100.01016.30
7.3.280.0110.00616.22
7.3.270.0120.00817.40
7.3.260.0130.00716.24
7.3.250.0060.01316.48
7.3.240.0070.01416.24
7.3.230.0060.00916.39
7.3.210.0130.00316.54
7.3.200.0100.01019.39
7.3.190.0090.00916.14
7.3.180.0130.00316.28
7.3.170.0150.00316.27
7.3.160.0060.01016.20
7.3.130.0080.00814.94
7.3.120.0100.00714.64
7.3.110.0120.00614.52
7.3.100.0060.00914.53
7.3.90.0110.00414.85
7.3.80.0110.00414.73
7.3.70.0040.01214.75
7.3.60.0080.00814.58
7.3.50.0040.01114.79
7.3.40.0040.01114.41
7.3.30.0070.01014.84
7.3.20.0090.00616.53
7.3.10.0040.01116.57
7.3.00.0060.00616.53
7.2.330.0170.00016.30
7.2.320.0060.01316.58
7.2.310.0060.01116.41
7.2.300.0090.00816.59
7.2.290.0080.00816.50
7.2.260.0100.00714.97
7.2.250.0070.01115.05
7.2.240.0060.01215.07
7.2.230.0090.00014.60
7.2.220.0030.01014.91
7.2.210.0000.01714.93
7.2.200.0100.00714.70
7.2.190.0060.00614.89
7.2.180.0040.01214.76
7.2.170.0100.01014.89
7.2.160.0030.01014.66
7.2.150.0140.00416.77
7.2.140.0090.00016.59
7.2.130.0090.00616.78
7.2.120.0100.00716.82
7.2.110.0060.00916.91
7.2.100.0030.01016.70
7.2.90.0100.00616.77
7.2.80.0060.00916.86
7.2.70.0000.01616.44
7.2.60.0020.01316.62
7.2.50.0040.01216.76
7.2.40.0000.01316.71
7.2.30.0000.01516.75
7.2.20.0080.00816.85
7.2.10.0070.01116.83
7.2.00.0070.00517.95
7.1.330.0040.00915.43
7.1.320.0030.01015.53
7.1.310.0000.01015.77
7.1.300.0030.00915.71
7.1.290.0030.01615.68
7.1.280.0110.00015.71
7.1.270.0070.00315.77
7.1.260.0000.00915.66
7.1.250.0040.00415.27
7.1.240.0000.01315.66
7.1.230.0110.00315.57
7.1.220.0000.00915.64
7.1.210.0000.01315.57
7.1.200.0060.00615.70
7.1.190.0090.00915.68
7.1.180.0120.00615.54
7.1.170.0060.00915.47
7.1.160.0030.01015.46
7.1.150.0040.00715.58
7.1.140.0120.00315.64
7.1.130.0070.00715.75
7.1.120.0110.00415.66
7.1.110.0130.00015.70
7.1.100.0050.00716.80
7.1.90.0060.01215.77
7.1.80.0000.01215.75
7.1.70.0050.00616.39
7.1.60.0120.00517.41
7.1.50.0030.00716.31
7.1.40.0030.01015.50
7.1.30.0060.00615.56
7.1.20.0040.00815.57
7.1.10.0040.00415.64
7.1.00.0010.04618.87
7.0.330.0030.00915.28
7.0.320.0080.00315.43
7.0.310.0030.01015.27
7.0.300.0100.00315.31
7.0.290.0060.00315.00
7.0.280.0110.00415.11
7.0.270.0100.00415.27
7.0.260.0040.00715.29
7.0.250.0070.00715.29
7.0.240.0060.00315.33
7.0.230.0040.00415.39
7.0.220.0060.00315.40
7.0.210.0030.01015.45
7.0.200.0040.00716.03
7.0.190.0070.00715.42
7.0.180.0040.01115.00
7.0.170.0030.00615.32
7.0.160.0030.00815.25
7.0.150.0110.00415.11
7.0.140.0020.04318.68
7.0.130.0030.01015.27
7.0.120.0060.00915.17
7.0.110.0090.00915.24
7.0.100.0040.01115.00
7.0.90.0040.00715.42
7.0.80.0060.00915.12
7.0.70.0080.00815.30
7.0.60.0070.02217.61
7.0.50.0080.03816.59
7.0.40.0050.03016.53
7.0.30.0180.02516.84
7.0.20.0130.04716.68
7.0.10.0020.05216.76
7.0.00.0030.02616.76
5.6.400.0100.00714.04
5.6.390.0060.00314.11
5.6.380.0060.00614.39
5.6.370.0060.00914.16
5.6.360.0030.01414.50
5.6.350.0110.00314.17
5.6.340.0100.00314.44
5.6.330.0060.00614.10
5.6.320.0040.01113.84
5.6.310.0070.00714.17
5.6.300.0070.00713.97
5.6.290.0090.00614.35
5.6.280.0050.04217.54
5.6.270.0040.00814.51
5.6.260.0070.01014.06
5.6.250.0030.00914.24
5.6.240.0000.01514.23
5.6.230.0090.00314.25
5.6.220.0060.00914.13
5.6.210.0050.04517.35
5.6.200.0100.03816.18
5.6.190.0030.04417.26
5.6.180.0250.04017.16
5.6.170.0220.03717.16
5.6.160.0130.04117.30
5.6.150.0060.04316.07
5.6.140.0030.02716.17
5.6.130.0020.02716.29
5.6.120.0140.03617.54
5.6.110.0080.02517.51
5.6.100.0030.02517.53
5.6.90.0080.03317.46
5.6.80.0050.04217.38
5.6.70.0140.00314.02
5.6.60.0000.01113.96
5.6.50.0090.00314.21
5.6.40.0070.00714.15
5.6.30.0030.00914.16
5.6.20.0000.01214.10
5.6.10.0070.00714.09
5.6.00.0100.00714.01
5.5.380.0060.01013.88
5.5.370.0030.01314.13
5.5.360.0000.01313.97
5.5.350.0150.04317.39
5.5.340.0070.04015.93
5.5.330.0080.04317.27
5.5.320.0150.04717.11
5.5.310.0120.03217.16
5.5.300.0060.04315.96
5.5.290.0050.04315.80
5.5.280.0050.04517.52
5.5.270.0080.02617.56
5.5.260.0080.04017.59
5.5.250.0120.01717.26
5.5.240.0140.03916.97
5.5.230.0000.00914.13
5.5.220.0000.01414.00
5.5.210.0080.00413.76
5.5.200.0070.00314.09
5.5.190.0070.00713.82
5.5.180.0040.01113.93
5.5.170.0130.00313.80
5.5.160.0060.00314.18
5.5.150.0070.00314.21
5.5.140.0070.00713.83
5.5.130.0110.00413.89
5.5.120.0100.00713.82
5.5.110.0030.00914.09
5.5.100.0090.00414.06
5.5.90.0080.00314.19
5.5.80.0030.01214.24
5.5.70.0070.00713.98
5.5.60.0030.01014.23
5.5.50.0070.00414.13
5.5.40.0000.01614.21
5.5.30.0000.01414.11
5.5.20.0040.00814.06
5.5.10.0030.00714.15
5.5.00.0070.00714.21
5.4.450.0080.02915.10
5.4.440.0460.03115.10
5.4.430.0450.03315.29
5.4.420.0380.03015.21
5.4.410.0430.03315.26
5.4.400.0380.03814.98
5.4.390.0400.03515.03
5.4.380.0200.02614.89
5.4.370.0180.02914.76
5.4.360.0280.03514.76
5.4.350.0160.03314.89
5.4.340.0130.03514.89
5.4.330.0000.00611.07
5.4.320.0040.02011.76
5.4.310.0040.02411.76
5.4.300.0050.02211.76
5.4.290.0070.01911.76
5.4.280.0040.02511.71
5.4.270.0060.02111.71
5.4.260.0050.02411.71
5.4.250.0070.02611.71
5.4.240.0070.02311.71
5.4.230.0040.02011.71
5.4.220.0060.02311.71
5.4.210.0020.02311.70
5.4.200.0020.02511.70
5.4.190.0060.01811.70
5.4.180.0050.02011.70
5.4.170.0070.02211.71
5.4.160.0040.02211.71
5.4.150.0040.02611.71
5.4.140.0060.02211.55
5.4.130.0070.01911.54
5.4.120.0050.02111.52
5.4.110.0070.02211.52
5.4.100.0050.01811.52
5.4.90.0060.02211.52
5.4.80.0090.02011.52
5.4.70.0050.02411.52
5.4.60.0050.02111.51
5.4.50.0070.02111.52
5.4.40.0060.02111.51
5.4.30.0100.01911.51
5.4.20.0060.02111.51
5.4.10.0020.02311.51
5.4.00.0060.01911.25
5.3.290.0040.04012.80
5.3.280.0070.03712.71
5.3.270.0060.03812.73
5.3.260.0030.04012.72
5.3.250.0030.04312.72
5.3.240.0040.03912.71
5.3.230.0050.04012.70
5.3.220.0040.04012.68
5.3.210.0050.03912.68
5.3.200.0050.03712.68
5.3.190.0050.03612.68
5.3.180.0100.03412.68
5.3.170.0030.03712.67
5.3.160.0050.03512.67
5.3.150.0060.03912.67
5.3.140.0030.04112.66
5.3.130.0060.04012.66
5.3.120.0050.03812.65
5.3.110.0100.03712.65
5.3.100.0070.03612.12
5.3.90.0080.03612.08
5.3.80.0050.03712.08
5.3.70.0070.03412.07
5.3.60.0050.03812.06
5.3.50.0050.03712.00
5.3.40.0060.03512.00
5.3.30.0050.03511.95
5.3.20.0060.03511.73
5.3.10.0090.03111.70
5.3.00.0040.03711.68
5.2.170.0070.0319.18
5.2.160.0060.0289.18
5.2.150.0080.0339.18
5.2.140.0080.0299.18
5.2.130.0020.0309.14
5.2.120.0060.0269.14
5.2.110.0040.0339.15
5.2.100.0040.0289.14
5.2.90.0060.0269.14
5.2.80.0040.0299.14
5.2.70.0020.0329.14
5.2.60.0040.0379.09
5.2.50.0050.0289.06
5.2.40.0050.0279.04
5.2.30.0060.0289.01
5.2.20.0040.0289.00
5.2.10.0030.0288.92
5.2.00.0060.0268.78
5.1.60.0040.0238.06
5.1.50.0030.0288.06
5.1.40.0040.0238.05
5.1.30.0060.0318.39
5.1.20.0030.0348.42
5.1.10.0070.0298.14
5.1.00.0040.0278.13
5.0.50.0030.0216.62
5.0.40.0070.0226.47
5.0.30.0030.0326.29
5.0.20.0050.0196.26
5.0.10.0030.0276.24
5.0.00.0020.0326.23
4.4.90.0030.0224.78
4.4.80.0020.0204.75
4.4.70.0020.0164.75
4.4.60.0040.0194.76
4.4.50.0020.0154.77
4.4.40.0050.0294.70
4.4.30.0030.0144.76
4.4.20.0020.0154.85
4.4.10.0060.0164.85
4.4.00.0040.0274.76
4.3.110.0020.0284.66
4.3.100.0040.0174.66
4.3.90.0040.0134.63
4.3.80.0020.0274.58
4.3.70.0020.0154.63
4.3.60.0020.0144.63
4.3.50.0010.0164.63
4.3.40.0040.0224.53
4.3.30.0020.0153.28
4.3.20.0040.0213.26
4.3.10.0040.0143.22
4.3.00.0000.0236.98

preferences:
29.42 ms | 403 KiB | 5 Q