3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = pack('c*', -22); $testU = pack('C*', 234); $testC = chr(-22); $testCU = chr(234); echo $test; echo $testU; echo $testC; echo $testCU; echo $test == $testU; echo $testC == $test; echo $testCU == $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.60.0070.00718.30
8.3.50.0040.01118.06
8.3.40.0110.00818.63
8.3.30.0140.00418.68
8.3.20.0080.00019.16
8.3.10.0050.00319.34
8.3.00.0000.00823.66
8.2.180.0040.01116.38
8.2.170.0070.00722.96
8.2.160.0070.00722.08
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0080.00019.75
8.2.120.0040.00426.35
8.2.110.0090.00022.29
8.2.100.0050.00517.91
8.2.90.0000.00817.75
8.2.80.0030.00618.71
8.2.70.0000.00817.93
8.2.60.0040.00418.04
8.2.50.0050.00318.10
8.2.40.0080.00019.48
8.2.30.0030.00319.52
8.2.20.0030.00318.05
8.2.10.0050.00218.12
8.2.00.0000.00719.44
8.1.280.0120.00625.92
8.1.270.0070.00022.19
8.1.260.0070.00026.35
8.1.250.0000.00828.09
8.1.240.0030.00623.65
8.1.230.0070.00422.77
8.1.220.0000.00717.74
8.1.210.0000.00818.77
8.1.200.0080.00017.13
8.1.190.0030.00617.10
8.1.180.0000.00818.10
8.1.170.0040.00418.50
8.1.160.0000.00718.80
8.1.150.0000.00718.94
8.1.140.0040.00417.70
8.1.130.0000.00719.03
8.1.120.0000.00817.36
8.1.110.0050.00517.43
8.1.100.0000.00717.34
8.1.90.0000.00817.35
8.1.80.0000.00717.44
8.1.70.0000.00717.39
8.1.60.0080.00017.62
8.1.50.0040.00417.51
8.1.40.0000.00817.54
8.1.30.0030.00617.53
8.1.20.0040.00417.54
8.1.10.0070.00017.55
8.1.00.0030.00617.44
8.0.300.0050.00318.77
8.0.290.0050.00316.75
8.0.280.0070.00018.42
8.0.270.0030.00317.23
8.0.260.0030.00319.05
8.0.250.0000.00716.92
8.0.240.0080.00016.96
8.0.230.0040.00416.73
8.0.220.0070.00016.70
8.0.210.0040.00416.88
8.0.200.0000.00716.76
8.0.190.0040.00416.79
8.0.180.0040.00416.80
8.0.170.0040.00416.72
8.0.160.0000.00716.79
8.0.150.0050.00316.79
8.0.140.0000.00716.82
8.0.130.0000.00713.22
8.0.120.0030.00516.81
8.0.110.0070.00016.71
8.0.100.0030.00516.64
8.0.90.0050.00316.76
8.0.80.0090.01116.78
8.0.70.0040.00416.71
8.0.60.0040.00416.85
8.0.50.0040.00416.76
8.0.30.0080.01017.20
8.0.20.0110.00917.40
8.0.10.0000.00716.84
8.0.00.0060.01216.74
7.4.330.0060.00015.55
7.4.320.0030.00316.45
7.4.300.0030.00316.44
7.4.290.0040.00416.51
7.4.280.0040.00416.50
7.4.270.0030.00316.50
7.4.260.0030.00316.47
7.4.250.0000.00716.51
7.4.240.0000.00916.61
7.4.230.0040.00416.65
7.4.220.0050.00316.49
7.4.210.0060.01016.45
7.4.200.0000.00716.32
7.4.160.0090.00916.56
7.4.140.0100.01017.86
7.4.130.0120.00616.46
7.4.120.0120.00716.53
7.4.110.0100.00716.69
7.4.100.0030.01416.59
7.4.90.0100.00716.40
7.4.80.0140.00619.39
7.4.70.0030.01316.44
7.4.60.0090.01016.56
7.4.50.0030.01116.52
7.4.40.0190.00016.58
7.4.00.0070.00714.77
7.3.330.0050.00013.08
7.3.320.0020.00213.04
7.3.310.0000.00716.00
7.3.300.0060.00016.24
7.3.290.0030.00316.24
7.3.280.0040.01316.21
7.3.260.0120.00916.49
7.3.240.0100.00716.41
7.3.230.0130.00316.52
7.3.210.0060.01116.10
7.3.200.0050.01116.27
7.3.190.0070.01116.34
7.3.180.0070.01016.12
7.3.170.0100.01316.19
7.3.160.0160.00016.19
7.3.10.0040.01116.30
7.3.00.0080.00316.16
7.2.330.0110.00716.49
7.2.320.0060.01316.68
7.2.310.0060.01316.60
7.2.300.0040.01816.63
7.2.290.0120.01216.36
7.2.130.0070.01016.91
7.2.120.0030.01316.53
7.2.110.0060.00516.57
7.2.100.0040.01316.78
7.2.90.0080.00416.73
7.2.80.0000.00916.88
7.2.70.0040.00416.50
7.2.60.0240.01015.79
7.2.50.0100.00815.73
7.2.40.1370.00715.98
7.2.30.1340.00915.92
7.2.20.0090.00816.16
7.2.10.0070.01016.14
7.2.00.0500.00816.15
7.1.250.0080.00815.64
7.1.200.0000.01115.59
7.1.170.0160.00513.55
7.1.160.3600.01416.97
7.1.150.2980.00916.73
7.1.140.0540.00917.07
7.1.130.0130.00916.90
7.1.120.0100.01316.59
7.1.110.0110.01115.82
7.1.100.0090.01116.29
7.1.90.0300.01316.29
7.1.80.2970.01416.44
7.1.70.0220.01415.41
7.1.60.2850.01633.13
7.1.50.0360.00833.02
7.1.40.0320.02232.50
7.1.30.0320.01132.39
7.1.20.0300.01132.57
7.1.10.0890.01114.77
7.1.00.0310.00614.67

preferences:
55.97 ms | 400 KiB | 5 Q