3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( ~1, ~1.1, ~'Test', ~"1e1", ~true, ~false, ~null );

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.0090.01218.40
8.3.50.0060.00821.14
8.3.40.0040.01118.79
8.3.30.0130.00320.35
8.3.20.0060.00318.73
8.3.10.0080.00021.11
8.3.00.0040.00422.32
8.2.180.0100.01016.50
8.2.170.0140.00322.96
8.2.160.0110.00420.52
8.2.150.0080.00024.18
8.2.140.0030.00724.66
8.2.130.0030.00326.16
8.2.120.0000.00720.97
8.2.110.0110.00022.26
8.2.100.0030.00718.95
8.1.280.0100.01025.92
8.1.270.0050.00323.99
8.1.260.0000.00726.35
8.1.250.0070.00028.09
8.1.240.0060.00318.68
8.1.230.0060.00318.61
5.5.60.0030.07720.05
5.5.50.0000.04320.04
5.5.40.0070.07720.02
5.5.30.0030.08320.04
5.5.20.0030.08320.14
5.5.10.0000.07719.95
5.5.00.0030.08019.95
5.4.220.0070.07318.78
5.4.210.0170.06719.21
5.4.200.0070.06019.11
5.4.190.0030.05319.02
5.4.180.0170.06018.89
5.4.170.0030.08719.11
5.4.160.0170.06718.94
5.4.150.0100.07719.10
5.4.140.0000.06716.29
5.4.130.0100.06316.36
5.4.120.0100.07016.34
5.4.110.0070.07016.32
5.4.100.0070.07716.34
5.4.90.0100.06716.26
5.4.80.0130.06716.30
5.4.70.0030.07716.32
5.4.60.0100.03716.30
5.4.50.0030.08016.34
5.4.40.0030.07716.23
5.4.30.0130.06716.30
5.4.20.0030.07716.39
5.4.10.0030.06316.30
5.4.00.0100.06015.82
5.3.270.0000.05014.54
5.3.260.0030.08014.59
5.3.250.0030.07314.45
5.3.240.0070.07314.56
5.3.230.0100.07014.50
5.3.220.0100.07014.47
5.3.210.0030.08014.51
5.3.200.0100.07314.42
5.3.190.0000.08314.42
5.3.180.0070.08014.52
5.3.170.0070.07314.53
5.3.160.0030.08014.55
5.3.150.0030.07014.55
5.3.140.0200.04714.50
5.3.130.0100.07314.38
5.3.120.0030.08314.38
5.3.110.0100.06014.49
5.3.100.0030.08314.02
5.3.90.0130.06714.00
5.3.80.0030.03713.96
5.3.70.0030.07713.86
5.3.60.0100.06713.85
5.3.50.0070.04313.71
5.3.40.0100.03713.80
5.3.30.0070.07713.84
5.3.20.0070.06713.64
5.3.10.0130.06313.63
5.3.00.0070.07313.40
5.2.170.0130.05712.11
5.2.160.0030.06012.11
5.2.150.0100.04712.11
5.2.140.0000.04312.11
5.2.130.0130.05712.11
5.2.120.0070.05712.11
5.2.110.0170.05012.11
5.2.100.0000.06012.11
5.2.90.0070.03712.11
5.2.80.0030.04712.11
5.2.70.0030.06012.11
5.2.60.0100.05712.11
5.2.50.0030.06712.11
5.2.40.0030.05712.11
5.2.30.0070.05712.11
5.2.20.0130.05012.11
5.2.10.0030.05012.11
5.2.00.0070.05712.11
5.1.60.0070.03312.11
5.1.50.0000.05712.11
5.1.40.0000.06012.11
5.1.30.0070.05712.11
5.1.20.0030.03012.11
5.1.10.0030.05012.11
5.1.00.0030.05312.11
5.0.50.0070.02012.11
5.0.40.0000.02712.11
5.0.30.0030.03712.11
5.0.20.0000.03712.11
5.0.10.0000.04712.11
5.0.00.0070.04712.11
4.4.90.0030.03312.11
4.4.80.0000.03012.11
4.4.70.0030.03312.11
4.4.60.0070.03012.11
4.4.50.0030.03312.11
4.4.40.0030.02312.11
4.4.30.0030.03312.11
4.4.20.0030.03712.11
4.4.10.0030.02712.11
4.4.00.0000.03312.11
4.3.110.0000.03712.11
4.3.100.0000.03712.11
4.3.90.0030.03312.11
4.3.80.0000.05712.11
4.3.70.0000.03712.11
4.3.60.0000.03712.11
4.3.50.0000.03712.11
4.3.40.0000.05312.11
4.3.30.0000.04012.11
4.3.20.0070.03012.11
4.3.10.0000.03712.11
4.3.00.0000.03712.11

preferences:
38.06 ms | 401 KiB | 5 Q