3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = '13132'; echo $test ? "true" : "false";

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.0100.01018.47
8.3.30.0060.00918.66
8.3.20.0050.00219.13
8.3.10.0050.00323.51
8.3.00.0050.00323.66
8.2.170.0120.00322.96
8.2.160.0100.00318.89
8.2.150.0050.00224.18
8.2.140.0040.00424.66
8.2.130.0080.00020.43
8.2.120.0050.00226.35
8.2.110.0030.00622.29
8.2.100.0080.00317.91
8.2.90.0050.00218.95
8.2.80.0040.00417.97
8.2.70.0040.00418.03
8.2.60.0040.00417.93
8.2.50.0000.00818.10
8.2.40.0070.00020.47
8.2.30.0070.00319.17
8.2.20.0040.00418.05
8.2.10.0040.00717.92
8.2.00.0030.00319.31
8.1.270.0040.00420.43
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0090.00023.90
8.1.230.0040.00723.86
8.1.220.0040.00417.76
8.1.210.0050.00318.77
8.1.200.0030.00617.35
8.1.190.0080.00017.22
8.1.180.0000.00718.10
8.1.170.0040.00418.84
8.1.160.0040.00418.87
8.1.150.0040.00418.72
8.1.140.0080.00020.87
8.1.130.0030.00319.00
8.1.120.0020.00517.32
8.1.110.0040.00417.20
8.1.100.0040.00417.43
8.1.90.0070.00317.41
8.1.80.0000.00817.36
8.1.70.0030.00317.39
8.1.60.0090.00017.49
8.1.50.0000.00717.44
8.1.40.0030.00517.39
8.1.30.0090.00317.52
8.1.20.0000.00717.61
8.1.10.0000.00817.43
8.1.00.0000.00717.41
8.0.300.0020.00518.77
8.0.290.0080.00016.75
8.0.280.0070.00018.39
8.0.270.0000.00817.29
8.0.260.0030.00317.21
8.0.250.0060.00016.91
8.0.240.0030.00316.86
8.0.230.0000.00716.86
8.0.220.0030.00316.79
8.0.210.0030.00316.68
8.0.200.0030.00316.84
8.0.190.0000.00716.76
8.0.180.0030.00616.82
8.0.170.0090.00016.82
8.0.160.0000.00716.88
8.0.150.0040.00416.83
8.0.140.0030.00316.72
8.0.130.0000.00613.24
8.0.120.0000.00816.83
8.0.110.0000.00716.61
8.0.100.0040.00416.64
8.0.90.0050.00316.77
8.0.80.0110.00716.80
8.0.70.0040.00416.64
8.0.60.0000.00716.82
8.0.50.0000.00716.88
8.0.30.0100.00917.11
8.0.20.0080.01017.40
8.0.10.0000.00816.77
8.0.00.0100.00716.86
7.4.330.0030.00215.55
7.4.320.0050.00316.35
7.4.300.0040.00416.39
7.4.290.0000.00716.51
7.4.280.0070.00016.50
7.4.270.0060.00316.40
7.4.260.0040.00416.51
7.4.250.0000.00816.51
7.4.240.0000.00816.44
7.4.230.0070.00016.55
7.4.220.0000.00716.23
7.4.210.0110.00516.53
7.4.200.0030.00316.59
7.4.160.0070.00916.39
7.4.140.0100.00817.86
7.4.130.0030.01416.49
7.4.120.0090.00916.37
7.4.110.0120.00416.25
7.4.100.0100.00716.38
7.4.90.0090.01216.54
7.4.80.0130.00519.39
7.4.70.0160.00616.28
7.4.60.0060.01016.34
7.4.50.0100.00316.51
7.4.40.0100.00716.53
7.4.00.0000.01814.63
7.3.330.0050.00012.93
7.3.320.0050.00013.06
7.3.310.0030.00315.94
7.3.300.0000.00716.14
7.3.290.0030.00316.12
7.3.280.0140.00316.23
7.3.260.0110.00716.22
7.3.240.0100.01216.29
7.3.230.0140.00316.47
7.3.210.0120.00916.29
7.3.200.0100.00916.06
7.3.190.0090.00616.44
7.3.180.0100.01116.15
7.3.170.0070.01016.54
7.3.160.0100.01016.11
7.2.330.0100.00716.39
7.2.320.0070.01416.17
7.2.310.0090.00816.48
7.2.300.0070.01716.49
7.2.290.0090.00916.34
7.2.80.0250.00714.70
7.2.70.0200.01014.82
7.2.60.0390.01014.84
7.2.50.0260.01014.96
7.2.40.0340.00914.69
7.2.30.0390.00614.77
7.2.20.0500.00314.74
7.2.10.0260.00714.91
7.2.00.0350.01114.81
7.1.200.0080.00315.55
7.1.190.0200.01013.67
7.1.180.0220.01113.73
7.1.170.0350.01413.66
7.1.160.0300.00313.46
7.1.150.0410.01013.71
7.1.140.0480.00313.51
7.1.130.0320.00313.73
7.1.120.0330.01013.50
7.1.110.0330.00713.43
7.1.100.0300.00313.90
7.1.90.0360.01313.73
7.1.80.0390.01013.46
7.1.70.0310.00613.79
7.1.60.0430.01331.75
7.1.50.0560.01431.78
7.1.40.0580.01931.79
7.1.30.0360.01331.67
7.1.20.0390.01031.59
7.1.10.0220.00913.66
7.1.00.0250.00713.95

preferences:
56.96 ms | 400 KiB | 5 Q