3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump((bool) 1); var_dump((bool) 0); var_dump((bool) -1);

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.130.0000.00818.43
8.3.120.0000.00819.02
8.3.110.0120.00620.94
8.3.100.0050.00324.06
8.3.90.0080.00026.77
8.3.80.0060.00317.97
8.3.70.0090.00616.45
8.3.60.0120.00318.55
8.3.50.0100.00517.25
8.3.40.0070.01018.71
8.3.30.0120.00318.41
8.3.20.0040.00418.60
8.3.10.0080.00021.56
8.3.00.0080.00021.86
8.2.250.0080.00016.85
8.2.240.0040.00417.11
8.2.230.0070.00322.58
8.2.220.0080.01137.54
8.2.210.0040.00426.77
8.2.200.0040.00816.38
8.2.190.0040.01118.02
8.2.180.0140.00716.34
8.2.170.0200.00018.96
8.2.160.0100.01022.96
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0070.00020.98
8.2.120.0080.00026.35
8.2.110.0110.00022.30
8.2.100.0120.00417.59
8.2.90.0090.00017.63
8.2.80.0040.00418.78
8.2.70.0100.00017.50
8.2.60.0030.00517.91
8.2.50.0000.00818.07
8.2.40.0000.00818.16
8.2.30.0000.01117.86
8.2.20.0000.00717.98
8.2.10.0030.00517.98
8.2.00.0110.00017.92
8.1.300.0060.01217.95
8.1.290.0090.00030.84
8.1.280.0070.01025.92
8.1.270.0050.00322.05
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0060.00320.89
8.1.230.0090.00317.70
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0040.00417.23
8.1.190.0030.00517.22
8.1.180.0030.00618.10
8.1.170.0060.00318.56
8.1.160.0030.00618.73
8.1.150.0000.00718.79
8.1.140.0000.00720.47
8.1.130.0000.00720.12
8.1.120.0070.00017.25
8.1.110.0050.00217.34
8.1.100.0000.00717.20
8.1.90.0000.00817.32
8.1.80.0040.00417.36
8.1.70.0040.00417.22
8.1.60.0070.00017.34
8.1.50.0000.00717.39
8.1.40.0040.00417.28
8.1.30.0000.00717.43
8.1.20.0130.00417.48
8.1.10.0140.00217.33
8.1.00.0120.00517.20
8.0.300.0080.00018.77
8.0.290.0000.00816.75
8.0.280.0000.00718.21
8.0.270.0020.00516.80
8.0.260.0050.00318.18
8.0.250.0000.00716.87
8.0.240.0060.00016.85
8.0.230.0040.00416.88
8.0.220.0000.00716.76
8.0.210.0070.00016.72
8.0.200.0000.00716.92
8.0.190.0050.00216.89
8.0.180.0090.00016.84
8.0.170.0040.00416.86
8.0.160.0040.00416.85
8.0.150.0090.00516.76
8.0.140.0150.00016.72
8.0.130.0090.00414.96
8.0.120.0120.00316.70
8.0.110.0140.00216.81
8.0.100.0090.00616.71
8.0.90.0090.00416.75
8.0.80.0080.01016.71
8.0.70.0070.00716.76
8.0.60.0120.00216.77
8.0.50.0100.00516.69
8.0.30.0150.00516.82
8.0.20.0140.00517.25
8.0.10.0140.00216.88
8.0.00.0110.01016.62
7.4.330.0050.00015.55
7.4.320.0030.00316.34
7.4.300.0070.00016.42
7.4.290.0040.00416.46
7.4.280.0000.00716.40
7.4.270.0050.00416.28
7.4.260.0130.00316.40
7.4.250.0070.00816.36
7.4.240.0100.00516.31
7.4.230.0120.00316.48
7.4.220.0110.00316.37
7.4.210.0120.00816.33
7.4.200.0110.00516.36
7.4.190.0150.00616.37
7.4.180.0210.00016.53
7.4.160.0110.00616.46
7.4.150.0100.01316.29
7.4.140.0090.01217.60
7.4.130.0150.00316.35
7.4.120.0120.00616.30
7.4.110.0130.00516.36
7.4.100.0120.00716.32
7.4.90.0130.00616.30
7.4.80.0130.00517.82
7.4.70.0090.00916.21
7.4.60.0140.00516.36
7.4.50.0080.01016.16
7.4.40.0130.00416.21
7.4.30.0150.00516.23
7.4.20.0160.00516.18
7.4.10.0190.00016.27
7.4.00.0090.00815.25
7.3.330.0060.00614.51
7.3.320.0120.00014.59
7.3.310.0080.00516.26
7.3.300.0060.00716.09
7.3.290.0090.00316.04
7.3.280.0120.00516.27
7.3.270.0150.00415.99
7.3.260.0090.01016.32
7.3.250.0150.00516.13
7.3.240.0130.00416.21
7.3.230.0150.00316.18
7.3.220.0140.00516.14
7.3.210.0170.00216.15
7.3.200.0120.00616.17
7.3.190.0140.00516.23
7.3.180.0080.01216.23
7.3.170.0120.00516.21
7.3.160.0150.00316.21
7.3.150.0150.00516.07
7.3.140.0190.00016.02
7.3.130.0130.00616.05
7.3.120.0120.00515.39
7.3.110.0130.00515.44
7.3.100.0120.00715.43
7.3.90.0090.00615.62
7.3.80.0070.00815.26
7.3.70.0090.00715.47
7.3.60.0090.00615.31
7.3.50.0060.00915.40
7.3.40.0120.00315.37
7.3.30.0100.00415.26
7.3.20.0120.00316.35
7.3.10.0090.00616.43
7.3.00.0080.00616.43
7.2.340.0120.00916.27
7.2.330.0120.00916.34
7.2.320.0140.00516.24
7.2.310.0110.00716.15
7.2.300.0120.00716.28
7.2.290.0140.00416.36
7.2.280.0110.00716.20
7.2.270.0160.00316.05
7.2.260.0130.00516.15
7.2.250.0160.00315.42
7.2.240.0110.00815.46
7.2.230.0100.00815.61
7.2.220.0130.00315.51
7.2.210.0110.00515.46
7.2.200.0090.00915.41
7.2.190.0120.00515.56
7.2.180.0130.00515.55
7.2.170.0070.00915.61
7.2.160.0140.00516.21
7.2.150.0230.00016.18
7.2.140.0110.00916.46
7.2.130.0100.00916.71
7.2.120.0090.00716.62
7.2.110.0080.00916.62
7.2.100.0340.00416.18
7.2.90.0340.00616.06
7.2.80.0320.00715.95
7.2.70.0250.00516.22
7.2.60.0370.00316.17
7.2.50.0310.00716.19
7.2.40.0290.00616.22
7.2.30.0270.00816.18
7.2.20.0230.01016.15
7.2.10.0280.00616.05
7.2.00.0300.00316.12
7.1.330.0090.00715.49
7.1.320.0090.00615.56
7.1.310.0130.00415.60
7.1.300.0090.00615.55
7.1.290.0120.00315.65
7.1.280.0070.00715.60
7.1.270.0110.00315.55
7.1.260.0060.00915.66
7.1.250.0270.00215.60
7.1.240.0180.00015.17
7.1.230.0090.00915.18
7.1.220.0480.00814.56
7.1.210.0470.00714.51
7.1.200.0560.00814.53
7.1.190.0690.00514.32
7.1.180.0510.00614.54
7.1.170.0520.00814.59
7.1.160.0600.00714.51
7.1.150.0460.00814.41
7.1.140.0470.00514.57
7.1.130.0600.00614.48
7.1.120.0510.01014.62
7.1.110.0540.00514.65
7.1.100.0530.00414.57
7.1.90.0480.00714.52
7.1.80.0480.00414.59
7.1.70.0430.00714.54
7.1.60.0620.00423.60
7.1.50.0640.00923.47
7.1.40.0530.01023.55
7.1.30.0860.01023.57
7.1.20.0550.00723.53
7.1.10.0510.00714.49
7.1.00.0480.00614.48
7.0.330.0150.00314.95
7.0.320.0150.00315.22
7.0.310.0180.00014.96
7.0.300.0140.00314.93
7.0.290.0150.00314.85
7.0.280.0180.00015.09
7.0.270.0120.00614.98
7.0.260.0150.00315.22
7.0.250.0160.00315.14
7.0.240.0120.00615.26
7.0.230.0140.00515.27
7.0.220.0130.00515.09
7.0.210.0140.00414.99
7.0.200.0100.00714.98
7.0.190.0130.00415.17
7.0.180.0140.00414.97
7.0.170.0130.00515.33
7.0.160.0110.00615.01
7.0.150.0340.00014.94
7.0.140.0140.00415.02
7.0.130.0170.00015.05
7.0.120.0130.00415.21
7.0.110.0170.00014.95
7.0.100.0140.00515.20
7.0.90.0230.00014.91
7.0.80.0140.00314.88
7.0.70.0140.00514.88
7.0.60.0160.00315.09
7.0.50.0140.00315.04
7.0.40.0150.00615.06
7.0.30.0180.00015.25
7.0.20.0130.00415.07
7.0.10.0140.00415.18
7.0.00.0060.01114.93
5.6.400.0140.00415.50
5.6.390.0130.00415.66
5.6.380.0100.00414.81
5.6.370.0110.00615.73
5.6.360.0140.00315.48
5.6.350.0070.01015.48
5.6.340.0100.00715.50
5.6.330.0140.00315.54
5.6.320.0130.00315.67
5.6.310.0110.00615.69
5.6.300.0160.00015.63
5.6.290.0100.00715.64
5.6.280.0100.00715.51
5.6.270.0140.00315.67
5.6.260.0120.00515.50
5.6.250.0100.00615.68
5.6.240.0120.00915.65
5.6.230.0160.00015.80
5.6.220.0170.00015.80
5.6.210.0160.00015.71
5.6.200.0170.00015.80
5.6.190.0080.00815.71
5.6.180.0160.00015.80
5.6.170.0120.00515.65
5.6.160.0110.00615.79
5.6.150.0070.01015.63
5.6.140.0130.00415.71
5.6.130.0130.00415.54
5.6.120.0140.00315.70
5.6.110.0100.00715.70
5.6.100.0140.00315.69
5.6.90.0170.00015.70
5.6.80.0080.00815.64
5.6.70.0130.00315.85
5.6.60.0100.00715.79
5.6.50.0120.00315.57
5.6.40.0100.00715.64
5.6.30.0120.00415.67
5.6.20.0050.01115.48
5.6.10.0130.00315.54
5.6.00.0170.00015.54

preferences:
71.35 ms | 406 KiB | 6 Q