3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A {} class B {} assert(new A instanceof A, new LogicException('wrong place at a wrong time')); // @todo nicify it assert(new B instanceof A, new LogicException('wrong place at a wrong time')); // @todo nicify it

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.0070.01416.50
8.3.50.0090.00616.50
8.3.40.0100.01018.92
8.3.30.0070.00718.71
8.3.20.0110.00020.21
8.3.10.0070.00021.90
8.3.00.0040.00419.38
8.2.180.0180.00018.18
8.2.170.0000.01422.96
8.2.160.0070.01120.39
8.2.150.0050.00224.18
8.2.140.0080.00024.66
8.2.130.0080.00021.03
8.2.120.0070.00026.35
8.2.110.0100.00021.11
8.2.100.0040.00818.09
8.2.90.0060.00319.08
8.2.80.0000.00818.04
8.2.70.0060.00317.50
8.2.60.0040.00417.93
8.2.50.0040.00418.10
8.2.40.0000.00820.55
8.2.30.0000.00820.92
8.2.20.0000.00817.97
8.2.10.0000.00817.93
8.2.00.0000.00817.86
8.1.280.0160.00025.92
8.1.270.0030.00622.11
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0040.00423.83
8.1.230.0070.00418.97
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0100.00017.22
8.1.190.0030.00517.00
8.1.180.0000.00918.10
8.1.170.0000.00820.16
8.1.160.0030.00519.00
8.1.150.0000.00718.72
8.1.140.0000.00719.55
8.1.130.0070.00018.72
8.1.120.0030.00317.23
8.1.110.0000.00817.30
8.1.100.0050.00317.35
8.1.90.0000.00717.24
8.1.80.0070.00017.24
8.1.70.0040.00417.24
8.1.60.0030.00517.49
8.1.50.0050.00317.44
8.1.40.0030.00517.33
8.1.30.0040.00417.54
8.1.20.0040.00417.50
8.1.10.0030.00617.40
8.1.00.0040.00417.30
8.0.300.0070.00018.77
8.0.290.0000.00916.75
8.0.280.0050.00218.29
8.0.270.0030.00317.19
8.0.260.0000.00816.84
8.0.250.0070.00016.98
8.0.240.0040.00416.97
8.0.230.0080.00016.83
8.0.220.0030.00316.94
8.0.210.0030.00316.86
8.0.200.0040.00416.91
8.0.190.0080.00017.00
8.0.180.0040.00416.81
8.0.170.0000.00716.88
8.0.160.0050.00216.95
8.0.150.0000.00716.77
8.0.140.0070.00016.69
8.0.130.0000.00613.36
8.0.120.0030.00516.90
8.0.110.0000.00816.96
8.0.100.0000.00816.87
8.0.90.0070.00016.88
8.0.80.0140.00416.92
8.0.70.0040.00417.01
8.0.60.0040.00416.75
8.0.50.0000.00716.93
8.0.30.0100.00817.02
8.0.20.0110.00817.40
8.0.10.0050.00316.96
8.0.00.0100.00616.71
7.4.330.0030.00315.55
7.4.320.0030.00316.40
7.4.300.0030.00316.47
7.4.290.0060.00616.38
7.4.280.0000.00716.38
7.4.270.0000.00716.36
7.4.260.0050.00316.50
7.4.250.0040.00416.46
7.4.240.0000.00716.45
7.4.230.0000.00716.28
7.4.220.0030.01716.51
7.4.210.0090.00416.48
7.4.200.0000.00716.48
7.4.160.0050.01216.36
7.4.150.0150.00317.40
7.4.140.0080.00917.86
7.4.130.0090.00916.45
7.4.120.0110.00816.40
7.4.110.0160.00916.46
7.4.100.0110.00816.59
7.4.90.0090.00916.52
7.4.80.0090.00919.39
7.4.70.0100.01016.44
7.4.60.0100.01016.43
7.4.50.0000.01016.52
7.4.40.0090.00616.29
7.4.30.0040.01516.47
7.4.10.0070.01014.84
7.4.00.0070.01014.84
7.3.330.0030.00313.25
7.3.320.0000.00613.24
7.3.310.0070.00016.38
7.3.300.0000.00616.16
7.3.290.0090.00516.29
7.3.280.0070.01116.27
7.3.270.0080.01217.40
7.3.260.0130.00916.41
7.3.250.0130.00416.24
7.3.240.0080.00916.47
7.3.230.0140.00416.25
7.3.210.0110.00616.38
7.3.200.0090.00616.42
7.3.190.0110.00916.31
7.3.180.0090.00616.64
7.3.170.0090.00716.18
7.3.160.0110.00616.48
7.3.130.0080.01114.70
7.3.120.0070.01114.76
7.3.110.0060.01214.79
7.3.100.0040.01014.78
7.3.90.0060.00814.87
7.3.80.0030.00914.65
7.3.70.0050.00814.74
7.3.60.0050.01014.68
7.3.50.0070.00814.66
7.3.40.0060.00614.84
7.3.30.0040.00914.74
7.3.20.0060.01016.48
7.3.10.0050.00916.63
7.3.00.0070.00616.58
7.2.330.0090.00916.60
7.2.320.0060.01116.34
7.2.310.0100.01316.32
7.2.300.0060.00916.25
7.2.290.0090.01216.66
7.2.260.0080.00814.94
7.2.250.0090.00814.74
7.2.240.0050.01015.00
7.2.230.0060.00814.89
7.2.220.0080.01014.90
7.2.210.0080.00314.91
7.2.200.0130.00214.95
7.2.190.0070.00814.78
7.2.180.0020.01314.88
7.2.170.0050.00714.96
7.2.160.0030.01015.00
7.2.150.0060.00916.84
7.2.140.0050.00516.86
7.2.130.0070.00616.76
7.2.120.0070.00816.69
7.2.110.0050.00816.73
7.2.100.0080.00816.73
7.2.90.0040.01216.85
7.2.80.0080.00516.79
7.2.70.0120.00316.82
7.2.60.0030.01216.81
7.2.50.0020.01316.66
7.2.40.0060.00816.74
7.2.30.0080.00716.86
7.2.20.0070.00416.72
7.2.10.0080.00616.80
7.2.00.0060.00717.36
7.1.330.0050.00915.54
7.1.320.0040.00915.69
7.1.310.0030.00615.66
7.1.300.0040.01015.57
7.1.290.0020.01115.63
7.1.280.0070.00615.72
7.1.270.0020.01015.66
7.1.260.0080.00515.74
7.1.250.0030.00915.63
7.1.240.0050.00915.74
7.1.230.0040.00715.56
7.1.220.0080.00515.55
7.1.210.0060.00615.62
7.1.200.0050.00815.72
7.1.190.0070.00715.64
7.1.180.0040.01015.54
7.1.170.0120.00215.77
7.1.160.0020.01215.76
7.1.150.0070.00515.52
7.1.140.0010.01115.64
7.1.130.0070.00315.75
7.1.120.0000.01015.76
7.1.110.0050.00815.73
7.1.100.0060.00716.42
7.1.90.0060.00715.75
7.1.80.0060.00415.74
7.1.70.0070.00716.14
7.1.60.0100.01322.12
7.1.50.0080.00822.10
7.1.40.0070.01021.87
7.1.30.0070.01121.84
7.1.20.0090.00722.00
7.1.10.0020.01115.97
7.1.00.0060.00615.87
7.0.330.0050.01015.10
7.0.320.0060.00515.28
7.0.310.0020.00915.45
7.0.300.0030.00815.28
7.0.290.0050.00515.42
7.0.280.0060.00615.25
7.0.270.0090.00515.31
7.0.260.0030.00915.07
7.0.250.0050.00815.51
7.0.240.0040.00815.41
7.0.230.0070.00715.42
7.0.220.0030.01015.28
7.0.210.0060.00815.43
7.0.200.0060.00515.69
7.0.190.0070.00415.72
7.0.180.0080.00515.69
7.0.170.0040.00915.60
7.0.160.0040.00815.64
7.0.150.0080.00415.69
7.0.140.0050.00715.59
7.0.130.0060.00715.72
7.0.120.0070.00615.73
7.0.110.0040.00615.65
7.0.100.0060.00515.66
7.0.90.0060.00615.65
7.0.80.0060.01115.66
7.0.70.0050.00815.61
7.0.60.0030.01015.60
7.0.50.0050.00715.59
7.0.40.0050.00514.44
7.0.30.0040.00914.36
7.0.20.0010.00914.28
7.0.10.0040.00614.44
7.0.00.0080.00614.39
5.6.400.0030.00914.34
5.6.390.0040.00914.28
5.6.380.0060.00514.28
5.6.370.0040.00914.31
5.6.360.0020.01214.18
5.6.350.0060.00614.18
5.6.340.0060.00513.94
5.6.330.0080.00714.48
5.6.320.0050.00714.24
5.6.310.0090.00814.12
5.6.300.0060.00714.30
5.6.290.0050.00914.25
5.6.280.0040.00814.28
5.6.270.0040.00714.31
5.6.260.0080.00514.30
5.6.250.0020.00914.29
5.6.240.0040.01114.33
5.6.230.0070.00714.46
5.6.220.0050.00913.91
5.6.210.0030.00914.31
5.6.200.0070.00514.23
5.6.190.0030.00614.30
5.6.180.0110.00114.39
5.6.170.0050.00914.18
5.6.160.0040.01314.33
5.6.150.0050.00714.02
5.6.140.0030.00614.33
5.6.130.0060.00614.13
5.6.120.0050.00814.21
5.6.110.0070.00714.28
5.6.100.0070.00514.09
5.6.90.0100.00414.22
5.6.80.0040.00714.16
5.6.70.0050.00813.98
5.6.60.0060.00714.16
5.6.50.0030.00714.15
5.6.40.0030.00714.16
5.6.30.0030.00914.13
5.6.20.0080.00713.98
5.6.10.0070.00614.06
5.6.00.0080.00314.10

preferences:
50.47 ms | 401 KiB | 5 Q