3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test{} $t = new Test(); if (!($t instanceof Test)) { echo 'coucou'; }

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.0140.00716.38
8.3.50.0000.01516.41
8.3.40.0090.00618.71
8.3.30.0070.00718.78
8.3.20.0040.00420.34
8.3.10.0030.01021.94
8.3.00.0050.00317.66
8.2.180.0110.00716.75
8.2.170.0140.00022.96
8.2.160.0110.00320.39
8.2.150.0110.00724.18
8.2.140.0070.01124.66
8.2.130.0040.00421.03
8.2.120.0050.00226.35
8.2.110.0050.00520.52
8.2.100.0080.00317.91
8.2.90.0070.00019.06
8.2.80.0070.00017.97
8.2.70.0030.00617.63
8.2.60.0030.00517.91
8.2.50.0090.00018.10
8.2.40.0000.00720.48
8.2.30.0000.00721.09
8.2.20.0080.00017.96
8.2.10.0000.00718.00
8.2.00.0000.00718.04
8.1.280.0080.00625.92
8.1.270.0120.00323.96
8.1.260.0160.00326.35
8.1.250.0030.01428.09
8.1.240.0030.00622.14
8.1.230.0110.00017.45
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0030.00917.23
8.1.190.0030.00517.35
8.1.180.0050.00318.10
8.1.170.0000.00818.40
8.1.160.0000.00718.92
8.1.150.0060.00320.60
8.1.140.0000.00719.57
8.1.130.0000.00718.80
8.1.120.0040.00417.48
8.1.110.0060.00317.46
8.1.100.0070.00017.45
8.1.90.0000.00717.41
8.1.80.0070.00017.31
8.1.70.0060.00317.44
8.1.60.0050.00417.56
8.1.50.0030.00617.36
8.1.40.0040.00417.51
8.1.30.0030.00617.54
8.1.20.0060.00317.61
8.1.10.0040.00417.56
8.1.00.0030.00617.51
8.0.300.0070.00018.77
8.0.290.0000.00816.63
8.0.280.0000.00718.45
8.0.270.0060.00317.30
8.0.260.0030.00316.81
8.0.250.0040.00416.85
8.0.240.0070.00016.94
8.0.230.0030.00516.88
8.0.220.0040.00416.83
8.0.210.0040.00416.76
8.0.200.0030.00316.94
8.0.190.0050.00316.88
8.0.180.0040.00416.91
8.0.170.0040.00416.93
8.0.160.0030.00316.91
8.0.150.0070.00016.85
8.0.140.0040.00416.87
8.0.130.0000.00513.33
8.0.120.0040.00416.85
8.0.110.0040.00416.69
8.0.100.0050.00216.71
8.0.90.0000.00716.79
8.0.80.0210.00716.87
8.0.70.0000.00816.70
8.0.60.0030.00616.87
8.0.50.0080.00016.83
8.0.30.0070.01117.02
8.0.20.0100.00917.40
8.0.10.0050.00317.13
8.0.00.0180.00016.97
7.4.330.0060.00015.55
7.4.320.0040.00416.41
7.4.300.0030.00316.55
7.4.290.0030.00716.39
7.4.280.0000.00716.50
7.4.270.0030.00316.36
7.4.260.0050.00216.41
7.4.250.0070.00016.36
7.4.240.0000.00716.54
7.4.230.0070.00016.50
7.4.220.0120.00616.53
7.4.210.0090.00616.56
7.4.200.0070.00016.19
7.4.160.0100.00716.28
7.4.150.0070.01017.40
7.4.140.0070.01117.86
7.4.130.0070.01316.43
7.4.120.0110.00716.62
7.3.330.0000.00513.11
7.3.320.0000.00513.07
7.3.310.0000.00716.10
7.3.300.0030.00316.19
7.3.290.0000.00716.11
7.3.280.0090.00716.24
7.3.270.0140.01017.40
7.3.260.0120.00516.31
7.3.250.0120.00716.35
7.3.240.0100.01016.35

preferences:
61.7 ms | 401 KiB | 5 Q