3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(strcmp("🍺", "🍣")); var_dump(strcmp("🍣", "🍺")); var_dump(strlen("🍣")); var_dump(strlen("🍺"));

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.0040.01620.36
8.4.10.0090.00019.20
8.3.150.0060.00317.10
8.3.140.0040.00419.10
8.3.130.0080.00018.16
8.3.120.0000.00818.67
8.3.110.0060.00320.94
8.3.100.0040.00424.06
8.3.90.0120.00626.77
8.3.80.0000.01018.18
8.3.70.0090.00618.43
8.3.60.0150.00018.31
8.3.50.0170.00417.96
8.3.40.0130.00318.63
8.3.30.0040.01118.54
8.3.20.0070.00021.73
8.3.10.0060.00320.45
8.3.00.0040.00419.13
8.2.270.0090.00917.04
8.2.260.0140.00316.67
8.2.250.0040.00418.41
8.2.240.0030.01616.97
8.2.230.0050.00322.58
8.2.220.0040.00437.54
8.2.210.0040.00426.77
8.2.200.0040.00816.25
8.2.190.0150.00616.58
8.2.180.0120.00325.92
8.2.170.0140.00322.96
8.2.160.0100.00719.39
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00421.00
8.2.110.0070.00321.15
8.2.100.0000.01217.66
8.2.90.0060.00317.63
8.2.80.0040.00418.67
8.2.70.0000.00817.50
8.2.60.0000.01117.68
8.2.50.0000.00718.07
8.2.40.0040.00418.10
8.2.30.0000.00917.97
8.2.20.0040.00417.90
8.2.10.0050.00319.35
8.2.00.0050.00318.02
8.1.310.0090.00916.45
8.1.300.0060.00318.07
8.1.290.0060.00330.84
8.1.280.0070.01125.92
8.1.270.0040.00420.21
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0060.00320.89
8.1.230.0090.00317.57
8.1.220.0000.00717.74
8.1.210.0040.00418.77
8.1.200.0060.00317.10
8.1.190.0030.00617.10
8.1.180.0000.00818.10
8.1.170.0030.00518.69
8.1.160.0030.00518.68
8.1.150.0040.00418.72
8.1.140.0070.00020.25
8.1.130.0000.00620.14
8.1.120.0000.00917.34
8.1.110.0000.00717.34
8.1.100.0040.00317.23
8.1.90.0040.00417.31
8.1.80.0060.00617.25
8.1.70.0030.00317.34
8.1.60.0040.00417.48
8.1.50.0000.00817.44
8.1.40.0050.00217.36
8.1.30.0000.00817.54
8.1.20.0040.00417.52
8.1.10.0020.00517.29
8.1.00.0040.00417.36
8.0.300.0090.00018.77
8.0.290.0000.00716.63
8.0.280.0040.00418.19
8.0.270.0030.00317.13
8.0.260.0060.00018.22
8.0.250.0030.00316.79
8.0.240.0050.00216.79
8.0.230.0030.00316.80
8.0.220.0000.00716.76
8.0.210.0050.00216.75
8.0.200.0030.00316.88
8.0.190.0070.00016.71
8.0.180.0000.00816.77
8.0.170.0040.00416.77
8.0.160.0040.00416.82
8.0.150.0070.00016.71
8.0.140.0080.00016.73
8.0.130.0030.00313.27
8.0.120.0040.00416.74
8.0.110.0020.00516.68
8.0.100.0000.00716.54
8.0.90.0000.00716.88
8.0.80.0120.01016.80
8.0.70.0040.00416.64
8.0.60.0000.00716.57
8.0.50.0000.00716.62
8.0.30.0120.00816.90
8.0.20.0160.00417.40
8.0.10.0000.00716.88
8.0.00.0150.00916.60
7.4.330.0000.00515.55
7.4.320.0070.00016.47
7.4.300.0030.00316.37
7.4.290.0070.00016.30
7.4.280.0070.00016.35
7.4.270.0030.00616.49
7.4.260.0070.00016.42
7.4.250.0040.00416.46
7.4.240.0000.00716.44
7.4.230.0070.00016.56
7.4.220.0000.00816.16
7.4.210.0060.00816.51
7.4.200.0070.00016.30
7.4.140.0100.00717.86
7.4.130.0060.01316.43
7.4.120.0080.00816.42
7.4.110.0100.00716.43
7.4.100.0200.00316.36
7.4.90.0070.01416.57
7.4.80.0060.01219.39
7.4.70.0130.00516.46
7.4.60.0130.00916.33
7.4.50.0140.01016.23
7.4.40.0230.01116.57
7.4.30.0240.00716.30
7.4.20.0280.00516.43
7.4.10.0230.01116.46
7.4.00.0090.00915.74
7.3.330.0060.00013.05
7.3.320.0000.00513.07
7.3.310.0000.00716.23
7.3.300.0000.00716.13
7.3.290.0060.00016.03
7.3.280.0090.01116.10
7.3.260.0090.01116.19
7.3.240.0110.00816.15
7.3.230.0090.00916.18
7.3.210.0130.00316.29
7.3.200.0110.01116.24
7.3.190.0080.01416.29
7.3.180.0200.00716.21
7.3.170.0310.00616.17
7.3.160.0310.01116.19
7.3.150.0180.01816.46
7.3.140.0320.00415.97
7.3.130.0270.01016.14
7.3.120.0200.01216.15
7.3.110.0260.01316.13
7.3.100.0160.01616.18
7.3.90.0290.00616.20
7.3.80.0210.01416.05
7.3.70.0220.01216.22
7.3.60.0210.01316.17
7.3.50.0450.00916.25
7.3.40.0250.01216.20
7.3.30.0160.01616.36
7.3.20.0550.00815.41
7.3.10.0380.01515.52
7.3.00.0590.00515.28
7.2.330.0100.00716.41
7.2.320.0100.00716.47
7.2.310.0270.00816.39
7.2.300.0240.01316.46
7.2.290.0190.01616.18
7.2.280.0210.01416.49
7.2.270.0220.01816.64
7.2.260.0230.00816.55
7.2.250.0200.01216.49
7.2.240.0300.01116.28
7.2.230.0220.01016.23
7.2.220.0190.02016.14
7.2.210.0210.01116.08
7.2.200.0130.01516.31
7.2.190.0220.01216.12
7.2.180.0260.01416.45
7.2.170.0280.00916.17
7.2.160.0210.01316.39
7.2.150.0490.01415.44
7.2.140.0690.01015.46
7.2.130.0480.01115.30
7.2.120.0660.01115.69
7.2.110.0530.01115.54
7.2.100.0620.00915.71
7.2.90.0600.00515.65
7.2.80.0480.00815.69
7.2.70.0640.00815.46
7.2.60.0800.01115.58
7.2.50.0860.00915.63
7.2.40.0560.00715.60
7.2.30.0590.01015.59
7.2.20.0630.00815.52
7.2.10.0540.00415.73
7.2.00.0520.00715.68
7.1.330.0310.00815.47
7.1.320.0190.01315.29
7.1.310.0810.01015.62
7.1.300.0270.00615.30
7.1.290.0330.01815.39
7.1.280.0280.00915.20
7.1.270.0350.00915.41
7.1.260.0310.00915.32
7.1.250.0420.01114.40
7.1.240.0320.00615.46
7.1.230.0210.01615.27
7.1.220.0330.00415.34
7.1.210.0240.01115.44
7.1.200.0580.01115.39
7.1.190.0210.01015.25
7.1.180.0220.01215.49
7.1.170.0290.00915.10
7.1.160.0160.01615.46
7.1.150.0070.01115.31
7.1.140.0140.01015.31
7.1.130.0170.00315.16
7.1.120.0150.00815.37
7.1.110.0060.01215.42
7.1.100.0150.01015.49
7.1.90.0180.00415.43
7.1.80.0100.01015.39
7.1.70.0040.01515.49
7.1.60.0380.00615.14
7.1.50.0090.01215.53
7.1.40.0110.00715.50
7.1.30.0160.01315.34
7.1.20.0170.00315.30
7.1.10.0220.00815.38
7.1.00.0220.00715.21

preferences:
29.07 ms | 403 KiB | 5 Q