3v4l.org

run code in 300+ PHP versions simultaneously
<?php $uuid = '550e8400-e29b-41d4-a716-446655440000'; $uuid = str_replace('-', '', $uuid); $uuid = hex2bin($uuid); $uuid = base64_encode($uuid); $uuid = str_replace('=', '', $uuid); var_dump($uuid);

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.120.0070.00918.64
8.4.110.0090.01120.38
8.4.100.0130.00517.67
8.4.90.0120.00820.46
8.4.80.0040.00420.74
8.4.70.0100.00618.79
8.4.60.0110.00920.61
8.4.50.0120.00718.46
8.4.40.0100.01017.59
8.4.30.0240.01317.39
8.4.20.0260.00019.10
8.4.10.0260.00117.46
8.3.250.0120.00718.18
8.3.240.0090.00816.44
8.3.230.0030.00516.36
8.3.220.0100.00820.62
8.3.210.0090.01118.45
8.3.200.0140.00716.60
8.3.190.0040.00419.03
8.3.180.0140.00616.30
8.3.170.0120.00620.48
8.3.160.0120.00616.37
8.3.150.0120.00716.91
8.3.140.0140.00516.44
8.3.130.0220.00216.50
8.3.120.0220.00118.55
8.3.110.0120.01016.34
8.3.100.0190.00620.16
8.3.90.0170.00621.51
8.3.80.0190.01017.16
8.3.70.0260.00816.27
8.3.60.0260.00517.43
8.3.50.0180.00917.50
8.3.40.0180.00517.98
8.3.30.0210.00517.97
8.3.20.0170.00518.79
8.3.10.0200.00620.25
8.3.00.0210.00418.45
8.2.290.0110.00717.06
8.2.280.0090.01018.49
8.2.270.0180.01016.60
8.2.260.0200.00817.58
8.2.250.0220.00616.40
8.2.240.0210.00816.64
8.2.230.0190.00618.56
8.2.220.0200.00527.11
8.2.210.0200.00721.39
8.2.200.0210.00317.36
8.2.190.0220.00916.58
8.2.180.0140.01216.39
8.2.170.0190.00820.33
8.2.160.0220.00718.87
8.2.150.0200.00320.70
8.2.140.0140.00220.99
8.2.130.0170.00619.20
8.2.120.0220.00221.88
8.2.110.0150.01019.67
8.2.100.0150.01017.50
8.2.90.0130.00718.18
8.2.80.0200.00317.65
8.2.70.0100.00417.65
8.2.60.0080.01017.47
8.2.50.0160.00717.78
8.2.40.0170.00619.91
8.2.30.0140.00618.30
8.2.20.0160.00517.64
8.2.10.0180.00417.57
8.2.00.0170.00517.85
8.1.330.0090.01016.01
8.1.320.0130.00517.78
8.1.310.0290.00517.22
8.1.300.0190.00416.43
8.1.290.0190.00623.47
8.1.280.0140.00920.86
8.1.270.0200.00118.72
8.1.260.0180.00321.78
8.1.250.0170.00522.72
8.1.240.0170.00518.94
8.1.230.0140.00819.02
8.1.220.0110.01117.40
8.1.210.0150.00617.85
8.1.200.0120.01017.14
8.1.190.0120.00717.81
8.1.180.0160.00717.46
8.1.170.0180.00517.91
8.1.160.0180.00717.79
8.1.150.0200.00218.74
8.1.140.0120.00917.27
8.1.130.0170.00517.94
8.1.120.0140.00717.25
8.1.110.0180.00317.16
8.1.100.0210.00417.12
8.1.90.0130.00617.22
8.1.80.0200.00317.31
8.1.70.0160.00417.24
8.1.60.0120.00217.33
8.1.50.0140.00517.31
8.1.40.0170.00017.39
8.1.30.0130.00817.33
8.1.20.0160.00617.46
8.1.10.0130.00817.19
8.1.00.0150.00617.14
8.0.300.0200.00517.67
8.0.290.0190.00416.55
8.0.280.0150.00717.36
8.0.270.0090.01216.79
8.0.260.0140.00816.58
8.0.250.0150.00516.54
8.0.240.0120.01016.73
8.0.230.0100.01016.64
8.0.220.0140.01016.71
8.0.210.0140.00716.63
8.0.200.0150.00716.61
8.0.190.0130.00716.71
8.0.180.0110.00716.76
8.0.170.0170.00616.66
8.0.160.0200.00416.58
8.0.150.0160.00516.58
8.0.140.0130.00816.56
8.0.130.0140.00514.86
8.0.120.0170.00316.51
8.0.110.0110.00716.66
8.0.100.0160.00416.52
8.0.90.0190.00216.57
8.0.80.0120.01116.54
8.0.70.0140.00616.58
8.0.60.0160.00516.56
8.0.50.0160.00416.57
8.0.30.0130.00816.80
8.0.20.0160.00717.23
8.0.10.0140.00616.70
8.0.00.0130.01116.67
7.4.330.0250.00515.81
7.4.320.0170.00316.28
7.4.300.0120.00816.30
7.4.290.0050.00516.44
7.4.280.0160.00316.35
7.4.270.0140.00616.33
7.4.260.0140.00516.35
7.4.250.0150.00516.25
7.4.240.0110.00916.31
7.4.230.0120.00816.33
7.4.220.0150.00416.31
7.4.210.0120.00716.36
7.4.200.0130.00616.19
7.4.190.0200.01216.07
7.4.180.0180.01416.23
7.4.160.0160.00616.27
7.4.150.0170.00816.63
7.4.140.0110.00917.53
7.4.130.0130.01016.17
7.4.120.0130.00816.25
7.4.110.0170.00616.33
7.4.100.0120.01016.28
7.4.90.0160.00616.34
7.4.80.0110.01217.25
7.4.70.0150.00916.29
7.4.60.0120.00916.26
7.4.50.0150.00716.11
7.4.40.0130.00916.25
7.4.30.0220.00316.13
7.4.20.0160.00916.24
7.4.10.0140.00715.64
7.4.00.0110.00915.51
7.3.330.0130.00614.49
7.3.320.0160.00314.32
7.3.310.0180.00315.91
7.3.300.0140.00515.90
7.3.290.0180.00916.11
7.3.280.0110.01016.04
7.3.270.0140.00716.61
7.3.260.0160.00916.03
7.3.250.0140.00716.02
7.3.240.0110.00916.19
7.3.230.0180.00416.15
7.3.220.0190.00716.02
7.3.210.0130.00816.11
7.3.200.0130.01016.10
7.3.190.0160.00616.02
7.3.180.0150.00816.16
7.3.170.0180.00716.03
7.3.160.0190.00516.07
7.3.150.0160.00815.91
7.3.140.0120.01015.93
7.3.130.0120.00715.55
7.3.120.0120.00815.44
7.3.110.0130.00815.58
7.3.100.0110.00715.44
7.3.90.0120.00915.47
7.3.80.0100.00815.56
7.3.70.0150.00615.57
7.3.60.0120.00815.52
7.3.50.0090.00915.44
7.3.40.0120.00615.48
7.3.30.0080.00915.50
7.3.20.0100.00916.59
7.3.10.0220.00615.98
7.3.00.0170.00616.05
7.2.340.0090.00716.01
7.2.330.0080.00916.18
7.2.320.0110.00616.29
7.2.310.0080.00916.20
7.2.300.0170.00516.08
7.2.290.0100.00916.25
7.2.280.0140.00516.04
7.2.270.0100.00816.23
7.2.260.0090.00916.09
7.2.250.0100.00715.62
7.2.240.0090.00815.68
7.2.230.0100.00815.55
7.2.220.0080.00915.72
7.2.210.0080.00715.58
7.2.200.0090.01015.71
7.2.190.0100.00815.68
7.2.180.0110.00815.67
7.2.170.0090.00715.66
7.2.160.0060.00815.71
7.2.150.0090.00816.82
7.2.140.0120.00716.76
7.2.130.0170.00916.28
7.2.120.0160.00716.25
7.2.110.0170.00516.14
7.2.100.0300.00816.25
7.2.90.0250.00916.24
7.2.80.0230.00816.19
7.2.70.0270.00816.28
7.2.60.0230.00816.29
7.2.50.0250.01016.23
7.2.40.0390.00616.34
7.2.30.0280.00716.32
7.2.20.0300.00916.76
7.2.10.0270.01016.73
7.2.00.0270.00816.76
7.1.330.0160.00915.84
7.1.320.0170.00715.86
7.1.310.0180.00815.93
7.1.300.0130.01015.87
7.1.290.0170.00715.83
7.1.280.0160.00615.94
7.1.270.0160.00615.79
7.1.260.0130.00715.83
7.1.250.0280.00715.30
7.1.240.0310.00615.26
7.1.230.0330.00715.27
7.1.220.0250.00815.26
7.1.210.0300.00815.32
7.1.200.0290.00515.29
7.1.190.0300.00715.23
7.1.180.0310.00815.21
7.1.170.0300.00815.15
7.1.160.0290.00915.21
7.1.150.0280.00815.27
7.1.140.0270.00915.55
7.1.130.0270.01015.66
7.1.120.0270.00815.71
7.1.110.0300.00715.54
7.1.100.0240.00815.60
7.1.90.0260.01215.51
7.1.80.0310.00715.57
7.1.70.0280.01015.22
7.1.60.0330.00720.57
7.1.50.0370.00820.48
7.1.40.0260.01120.44
7.1.30.0290.00820.50
7.1.20.0400.01120.43
7.1.10.0300.00815.04
7.1.00.0270.00715.11
7.0.330.0270.00614.69
7.0.320.0310.00615.08
7.0.310.0290.00515.01
7.0.300.0290.01115.12
7.0.290.0260.00815.17
7.0.280.0310.00414.94
7.0.270.0380.00715.61
7.0.260.0280.00815.57
7.0.250.0310.00815.39
7.0.240.0240.01015.38
7.0.230.0270.00915.26
7.0.220.0290.00715.35
7.0.210.0330.00814.97
7.0.200.0290.00915.00
7.0.190.0260.00814.95
7.0.180.0490.00714.84
7.0.170.0230.00814.78
7.0.160.0280.00614.73
7.0.150.0240.00814.83
7.0.140.0260.00814.82
7.0.130.0270.00715.03
7.0.120.0250.00814.86
7.0.110.0210.00814.79
7.0.100.0270.00914.81
7.0.90.0320.00814.77
7.0.80.0270.01114.82
7.0.70.0200.01014.87
7.0.60.0230.01014.69
7.0.50.0210.00914.77
7.0.40.0260.00914.79
7.0.30.0210.00814.82
7.0.20.0220.00914.73
7.0.10.0220.00914.78
7.0.00.0220.00914.86
5.6.400.0200.00815.60
5.6.390.0130.01115.69
5.6.380.0140.00615.11
5.6.370.0110.01015.41
5.6.360.0110.00915.32
5.6.350.0160.00715.25
5.6.340.0170.00615.34
5.6.330.0130.01015.28
5.6.320.0150.00915.21
5.6.310.0160.00715.32
5.6.300.0110.03517.59
5.6.290.0120.03217.61
5.6.280.0150.03417.63
5.6.270.0150.03117.65
5.6.260.0200.02817.62
5.6.250.0120.03517.71
5.6.240.0160.03317.68
5.6.230.0140.03317.66
5.6.220.0110.03517.58
5.6.210.0140.03017.68
5.6.200.0150.03017.66
5.6.190.0140.03117.70
5.6.180.0170.02717.67
5.6.170.0130.03117.68
5.6.160.0120.03217.72
5.6.150.0130.03217.72
5.6.140.0160.02817.65
5.6.130.0180.02617.66
5.6.120.0140.03117.64
5.6.110.0140.03517.73
5.6.100.0160.03217.58
5.6.90.0160.02917.61
5.6.80.0150.02917.31
5.6.70.0160.02917.37
5.6.60.0130.02917.39
5.6.50.0150.02817.32
5.6.40.0140.02817.31
5.6.30.0110.03317.41
5.6.20.0160.02817.34
5.6.10.0120.03117.36
5.6.00.0120.03117.35

preferences:
28.62 ms | 403 KiB | 5 Q