3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i=0; $i<256; $i++) var_dump(!ord(chr($i)) == $i);

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.0090.01318.76
8.3.30.0120.00318.50
8.3.20.0050.00320.64
8.3.10.0050.00318.89
8.3.00.0040.00421.73
8.2.170.0120.00322.96
8.2.160.0120.00320.32
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0040.00726.16
8.2.110.0060.00322.12
8.2.100.0090.00317.91
8.2.90.0040.00422.35
8.2.80.0040.00417.97
8.2.70.0080.00017.80
8.2.60.0000.00817.96
8.2.50.0080.00019.25
8.2.40.0080.00019.38
8.2.30.0040.00419.29
8.2.20.0060.00318.11
8.2.10.0040.00418.79
8.2.00.0000.00719.33
8.1.270.0040.00420.75
8.1.260.0060.00326.35
8.1.250.0080.00028.09
8.1.240.0100.00022.54
8.1.230.0110.00021.04
8.1.220.0090.00017.74
8.1.210.0000.00818.88
8.1.200.0000.01017.12
8.1.190.0030.00917.22
8.1.180.0090.00018.10
8.1.170.0030.00518.64
8.1.160.0000.00718.91
8.1.150.0000.00718.75
8.1.140.0050.00220.24
8.1.130.0000.00720.01
8.1.120.0040.00417.48
8.1.110.0040.00417.45
8.1.100.0060.00317.33
8.1.90.0000.00717.48
8.1.80.0030.00517.42
8.1.70.0000.00717.49
8.1.60.0080.00017.59
8.1.50.0060.00317.49
8.1.40.0030.00617.52
8.1.30.0090.00017.53
8.1.20.0000.00917.52
8.1.10.0050.00317.47
8.1.00.0060.00317.25
8.0.300.0000.00719.98
8.0.290.0040.00416.75
8.0.280.0000.00718.43
8.0.270.0000.00717.25
8.0.260.0030.00318.30
8.0.250.0030.00416.99
8.0.240.0000.00616.94
8.0.230.0040.00416.97
8.0.220.0020.00516.88
8.0.210.0040.00316.81
8.0.200.0000.00716.84
8.0.190.0000.00816.85
8.0.180.0000.00816.97
8.0.170.0040.00416.77
8.0.160.0000.00716.77
8.0.150.0070.00016.90
8.0.140.0000.00716.85
8.0.130.0050.00313.39
8.0.120.0030.00616.84
8.0.110.0030.00516.93
8.0.100.0040.00416.85
8.0.90.0040.00416.77
8.0.80.0030.01416.94
8.0.70.0040.00416.65
8.0.60.0000.00816.94
8.0.50.0000.00816.77
8.0.30.0150.00517.01
8.0.20.0210.00017.04
8.0.10.0040.00417.05
8.0.00.0110.00916.68
7.4.330.0000.00515.55
7.4.320.0030.00316.52
7.4.300.0000.00716.57
7.4.290.0070.00016.56
7.4.280.0040.00716.50
7.4.270.0040.00416.66
7.4.260.0000.00816.48
7.4.250.0030.00316.39
7.4.240.0040.00716.57
7.4.230.0030.00316.44
7.4.220.0000.00816.48
7.4.210.0090.00616.58
7.4.200.0000.00716.32
7.4.160.0100.00716.47
7.4.130.0120.00916.32
7.4.120.0080.01216.42
7.4.110.0150.00416.40
7.4.100.0110.00916.54
7.4.90.0130.01016.59
7.4.80.0070.01019.39
7.4.70.0090.01016.54
7.4.60.0000.01716.55
7.4.50.0040.00816.45
7.4.40.0060.01216.44
7.4.00.0110.00415.11
7.3.330.0000.00513.17
7.3.320.0050.00013.14
7.3.310.0000.00716.30
7.3.300.0030.00316.16
7.3.290.0000.00716.21
7.3.280.0120.00416.22
7.3.260.0080.01316.47
7.3.240.0100.01016.41
7.3.230.0070.01116.40
7.3.210.0040.01516.43
7.3.200.0100.00716.48
7.3.190.0190.00016.23
7.3.180.0160.00716.28
7.3.170.0130.01016.43
7.3.160.0200.00416.32
7.3.50.0060.00614.61
7.3.40.0030.01014.82
7.3.30.0000.01314.92
7.3.20.0120.00314.80
7.3.10.0130.01014.90
7.3.00.0180.00614.68
7.2.330.0060.01316.67
7.2.320.0130.00616.64
7.2.310.0090.01016.50
7.2.300.0090.00916.56
7.2.290.0100.01016.48
7.2.180.0030.00915.02
7.2.170.0080.01614.84
7.2.160.0060.01214.93
7.2.150.0210.00715.16
7.2.140.0100.00615.22
7.2.130.0100.00314.83
7.2.120.0000.01414.96
7.2.110.0110.00315.09
7.2.100.0080.00815.16
7.2.90.0210.00614.80
7.2.80.0190.00614.68
7.2.70.0080.01015.04
7.2.60.0090.01214.93
7.2.50.0160.00914.97
7.2.40.0180.00915.11
7.2.30.0060.01715.04
7.2.20.0190.00615.16
7.2.10.0220.00615.07
7.2.00.0170.00815.17
7.1.280.0070.01014.06
7.1.270.0180.00913.91
7.1.260.0170.00813.89
7.1.250.0100.00313.76

preferences:
49.75 ms | 400 KiB | 5 Q