3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = pack('c*', -22); $testU = pack('C*', 234); $testC = chr(234); echo $test; echo $testU; echo $testC; echo $test == $testU; echo $testC == $test;

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.0070.01118.53
8.3.30.0150.00618.72
8.3.20.0040.00418.94
8.3.10.0040.00419.33
8.3.00.0070.00023.66
8.2.170.0120.00322.96
8.2.160.0040.01122.08
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00719.71
8.2.110.0030.00620.35
8.2.100.0040.00817.78
8.2.90.0080.00017.63
8.2.80.0000.00818.76
8.2.70.0040.00417.80
8.2.60.0040.00418.04
8.2.50.0000.00818.10
8.2.40.0040.00419.48
8.2.30.0000.00719.48
8.2.20.0000.00718.11
8.2.10.0080.00017.99
8.2.00.0030.00619.40
8.1.270.0000.00723.88
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0130.00319.02
8.1.230.0040.00722.20
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0090.00017.10
8.1.180.0000.00818.10
8.1.170.0080.00018.67
8.1.160.0000.00718.79
8.1.150.0080.00018.93
8.1.140.0000.00717.56
8.1.130.0070.00018.93
8.1.120.0030.00317.38
8.1.110.0060.00317.42
8.1.100.0000.00717.47
8.1.90.0040.00417.48
8.1.80.0040.00417.46
8.1.70.0040.00417.50
8.1.60.0060.00317.59
8.1.50.0000.00817.59
8.1.40.0030.00617.38
8.1.30.0000.00817.64
8.1.20.0060.00317.53
8.1.10.0000.00717.50
8.1.00.0030.00517.43
8.0.300.0070.00018.77
8.0.290.0000.00816.58
8.0.280.0050.00318.43
8.0.270.0000.00717.15
8.0.260.0040.00417.13
8.0.250.0030.00316.99
8.0.240.0030.00316.99
8.0.230.0040.00416.87
8.0.220.0040.00416.86
8.0.210.0000.00716.81
8.0.200.0030.00316.77
8.0.190.0030.00516.85
8.0.180.0000.00916.76
8.0.170.0060.00316.82
8.0.160.0000.00716.80
8.0.150.0030.00316.74
8.0.140.0070.00016.67
8.0.130.0070.00013.21
8.0.120.0000.00816.70
8.0.110.0000.01016.62
8.0.100.0030.00516.89
8.0.90.0000.00716.65
8.0.80.0030.01616.81
8.0.70.0070.00016.77
8.0.60.0040.00416.83
8.0.50.0040.00416.64
8.0.30.0090.01117.09
8.0.20.0110.01117.40
8.0.10.0070.00017.02
8.0.00.0090.01016.60
7.4.330.0060.00015.55
7.4.320.0030.00316.55
7.4.300.0060.00016.60
7.4.290.0070.00016.50
7.4.280.0050.00316.48
7.4.270.0030.00316.45
7.4.260.0050.00216.43
7.4.250.0060.00016.36
7.4.240.0030.00316.49
7.4.230.0050.00216.63
7.4.220.0000.00716.66
7.4.210.0050.01116.59
7.4.200.0040.00416.68
7.4.160.0070.01016.52
7.4.140.0120.00917.86
7.4.130.0090.01316.44
7.4.120.0080.01016.50
7.4.110.0080.00816.34
7.4.100.0030.01316.43
7.4.90.0130.00616.58
7.4.80.0110.00719.39
7.4.70.0030.01516.40
7.4.60.0080.00816.42
7.4.50.0170.00016.39
7.4.40.0160.00916.62
7.4.00.0050.00915.06
7.3.330.0020.00213.02
7.3.320.0000.00513.05
7.3.310.0030.00316.05
7.3.300.0000.00616.20
7.3.290.0030.00316.20
7.3.280.0080.00816.20
7.3.260.0130.00416.34
7.3.240.0100.00616.34
7.3.230.0040.01316.30
7.3.210.0130.00416.17
7.3.200.0090.00616.29
7.3.190.0040.01816.44
7.3.180.0060.01116.33
7.3.170.0030.01416.25
7.3.160.0060.01016.65
7.3.120.0090.00614.76
7.3.110.0050.01014.61
7.3.100.0060.00614.51
7.3.90.0070.00614.65
7.3.80.0080.00314.77
7.3.70.0020.01114.72
7.3.60.0070.00714.61
7.3.50.0020.01314.75
7.3.40.0050.00814.91
7.3.30.0090.00414.58
7.3.20.0050.00816.49
7.3.10.0050.01316.68
7.3.00.0020.00916.65
7.2.330.0090.00916.72
7.2.320.0060.01116.54
7.2.310.0060.01416.34
7.2.300.0140.00716.42
7.2.290.0200.01516.66
7.2.250.0080.01014.73
7.2.240.0100.00915.02
7.2.230.0070.01014.69
7.2.220.0080.00814.80
7.2.210.0020.01515.00
7.2.200.0020.01214.89
7.2.190.0050.01014.88
7.2.180.0060.00415.04
7.2.170.0050.00914.90
7.2.60.3100.00815.06
7.2.50.3390.00614.82
7.2.40.3360.00815.34
7.2.30.4290.00915.20
7.2.20.3860.01015.24
7.2.10.4270.01215.55
7.2.00.4250.00615.52
7.1.330.0040.00915.60
7.1.320.0060.00615.77
7.1.310.0060.00715.77
7.1.300.0090.00515.75
7.1.290.0050.00615.76
7.1.280.0050.00915.73
7.1.270.0010.01415.74
7.1.260.0040.00815.61
7.1.200.0060.00615.62
7.1.170.3200.00813.91
7.1.160.3470.01117.00
7.1.150.4540.01316.98
7.1.140.4070.01116.87
7.1.130.4500.00916.67
7.1.120.3760.01316.78
7.1.110.3510.01116.10
7.1.100.4300.01216.25
7.1.90.4050.01016.37
7.1.80.4220.00816.16
7.1.70.3880.01015.24
7.1.60.3690.01733.25
7.1.50.4440.01333.09
7.1.40.4190.00832.52
7.1.30.5930.02032.59
7.1.20.5290.01132.84
7.1.10.5180.01014.49
7.1.00.3100.01114.82

preferences:
55.95 ms | 400 KiB | 5 Q