3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new stdClass; var_dump($a instanceof stdClass); $b = function() {}; var_dump($b instanceof Closure);

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.4.20.0060.00919.53
8.4.10.0080.00018.49
8.3.150.0080.00017.00
8.3.140.0050.00317.18
8.3.130.0100.01018.26
8.3.120.0070.01018.96
8.3.110.0030.00616.65
8.3.100.0060.00316.48
8.3.90.0030.01320.20
8.3.80.0090.00018.43
8.3.70.0070.01418.18
8.3.60.0070.01018.18
8.3.50.0100.00417.44
8.3.40.0040.01118.76
8.3.30.0070.00718.63
8.3.20.0040.00418.79
8.3.10.0000.00823.48
8.3.00.0070.00023.48
8.2.270.0110.00418.95
8.2.260.0030.00618.79
8.2.250.0110.00418.30
8.2.240.0060.00318.27
8.2.230.0100.00020.94
8.2.220.0060.00324.06
8.2.210.0070.00026.77
8.2.200.0030.00618.29
8.2.190.0090.00618.18
8.2.180.0070.00716.38
8.2.170.0000.01622.96
8.2.160.0110.00418.86
8.2.150.0080.00024.18
8.2.140.0050.00224.66
8.2.130.0080.00020.53
8.2.120.0040.00426.16
8.2.110.0040.00422.32
8.2.100.0120.00019.45
8.2.90.0000.00817.75
8.2.80.0050.00517.97
8.2.70.0030.00517.80
8.2.60.0000.01017.80
8.2.50.0000.00918.10
8.2.40.0000.00719.52
8.2.30.0060.00319.30
8.2.20.0050.00218.05
8.2.10.0000.00719.34
8.2.00.0040.00419.43
8.1.310.0040.00416.54
8.1.300.0060.00318.56
8.1.290.0030.00618.88
8.1.280.0030.01225.92
8.1.270.0060.00323.99
8.1.260.0090.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00323.86
8.1.230.0110.00019.08
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0090.00017.09
8.1.180.0040.00418.10
8.1.170.0080.00018.95
8.1.160.0000.00718.90
8.1.150.0070.00018.89
8.1.140.0040.00417.85
8.1.130.0030.00318.91
8.1.120.0050.00317.39
8.1.110.0040.00417.50
8.1.100.0040.00317.38
8.1.90.0080.00017.38
8.1.80.0030.00717.36
8.1.70.0100.00017.34
8.1.60.0060.00317.55
8.1.50.0030.00617.50
8.1.40.0040.00417.46
8.1.30.0070.00317.63
8.1.20.0040.00417.69
8.1.10.0000.00717.49
8.1.00.0000.00717.49
8.0.300.0050.00318.77
8.0.290.0030.00516.58
8.0.280.0070.00018.37
8.0.270.0070.00017.22
8.0.260.0030.00317.18
8.0.250.0030.00316.77
8.0.240.0040.00416.93
8.0.230.0000.00716.91
8.0.220.0040.00416.71
8.0.210.0000.00716.75
8.0.200.0030.00616.93
8.0.190.0040.00416.91
8.0.180.0000.00716.93
8.0.170.0040.00816.86
8.0.160.0000.00716.84
8.0.150.0040.00416.79
8.0.140.0040.00816.86
8.0.130.0050.00013.27
8.0.120.0000.00716.82
8.0.110.0040.00416.78
8.0.100.0000.00816.93
8.0.90.0040.00416.76
8.0.80.0110.01116.87
8.0.70.0000.00716.84
8.0.60.0040.00416.68
8.0.50.0050.00216.75
8.0.30.0140.00617.09
8.0.20.0090.01217.40
8.0.10.0040.00416.97
8.0.00.0060.01216.87
7.4.330.0050.00015.55
7.4.320.0070.00016.50
7.4.300.0030.00316.50
7.4.290.0030.00316.44
7.4.280.0060.00316.53
7.4.270.0030.00516.57
7.4.260.0040.00416.55
7.4.250.0030.00316.43
7.4.240.0030.00316.48
7.4.230.0000.00716.68
7.4.220.0030.00516.61
7.4.210.0050.00916.49
7.4.200.0000.00716.39
7.4.160.0080.00816.37
7.4.140.0090.00917.86
7.4.130.0170.00716.44
7.4.120.0110.00816.56
7.4.110.0060.01216.46
7.4.100.0160.00316.41
7.4.90.0070.01016.41
7.4.80.0200.00319.39
7.4.70.0040.01116.67
7.4.60.0000.01516.51
7.4.50.0100.00516.51
7.4.40.0080.01516.58
7.4.00.0080.01015.09
7.3.330.0000.00513.27
7.3.320.0030.00313.15
7.3.310.0050.00216.28
7.3.300.0000.00716.25
7.3.290.0020.00516.18
7.3.280.0100.00416.26
7.3.260.0110.00616.47
7.3.240.0120.00716.34
7.3.230.0130.00316.42
7.3.210.0060.01616.31
7.3.200.0120.00316.20
7.3.190.0160.00016.49
7.3.180.0110.00716.25
7.3.170.0160.00016.36
7.3.160.0080.00816.29
7.3.120.0000.01914.77
7.3.110.0040.01215.02
7.3.100.0090.00614.89
7.3.90.0100.00314.40
7.3.80.0030.00714.68
7.3.70.0110.00414.71
7.3.60.0100.00614.52
7.3.50.0070.00714.74
7.3.40.0040.01114.77
7.3.30.0030.01014.88
7.3.20.0090.00016.45
7.3.10.0100.00716.27
7.3.00.0090.00016.79
7.2.330.0060.01216.63
7.2.320.0140.00316.61
7.2.310.0070.01016.69
7.2.300.0160.00016.38
7.2.290.0120.00916.65
7.2.250.0000.01814.95
7.2.240.0060.00914.91
7.2.230.0040.01515.05
7.2.220.0040.01514.66
7.2.210.0080.00814.88
7.2.200.0060.00614.96
7.2.190.0070.00714.86
7.2.180.0040.00814.74
7.2.170.0040.00714.85
7.2.80.0820.01314.52
7.2.70.0670.00714.93
7.2.60.0740.01014.95
7.2.50.1120.01315.07
7.2.40.0760.01014.89
7.2.30.1290.00714.54
7.2.20.0900.01014.71
7.2.10.0720.01314.72
7.2.00.0620.00615.05
7.1.330.0110.00015.55
7.1.320.0000.00915.71
7.1.310.0030.01315.64
7.1.300.0000.01515.94
7.1.290.0060.00915.78
7.1.280.0030.00615.53
7.1.270.0110.00315.67
7.1.260.0080.00515.77
7.1.200.0070.00315.71
7.1.190.0980.01013.89
7.1.180.0760.00713.82
7.1.170.0790.01013.64
7.1.160.0830.00713.62
7.1.150.0740.00313.50
7.1.140.0820.00713.64
7.1.130.0820.00713.65
7.1.120.0940.00713.81
7.1.110.0730.00313.71
7.1.100.0860.01013.72
7.1.90.1250.00313.60
7.1.80.0980.00313.80
7.1.70.0510.00613.57
7.1.60.0720.01131.86
7.1.50.0590.01031.57
7.1.40.0620.01331.63
7.1.30.0610.01031.57
7.1.20.0600.01331.42
7.1.10.0300.00313.34
7.1.00.0210.01213.87
7.0.310.1120.01313.25
7.0.300.0720.00713.44
7.0.290.0940.00613.29
7.0.270.0960.00613.14
7.0.260.0690.00713.43
7.0.250.0920.01313.28
7.0.240.0830.01313.44
7.0.230.1610.00913.10
7.0.220.1150.01613.61
7.0.210.0760.00613.46
7.0.200.0590.00713.51
7.0.190.0710.01013.16
7.0.180.0490.00713.36
7.0.170.0450.01813.59
7.0.160.0620.00313.46
7.0.150.0440.01213.48
7.0.140.3370.01313.52
7.0.130.0300.00713.07
7.0.120.0320.00813.61
7.0.110.0500.00413.23
7.0.100.0340.00713.30
7.0.90.0340.00413.40
7.0.80.0430.00713.15
7.0.70.0230.00813.49
7.0.60.0210.01213.45
7.0.50.0170.01313.38
7.0.40.0250.00813.47
7.0.30.0240.01013.51
7.0.20.0290.00313.43
7.0.10.0230.01213.44
7.0.00.0280.01313.27
5.6.300.0130.00414.01
5.6.290.0120.00614.34
5.6.280.0140.00514.06
5.6.270.0100.01314.41
5.6.260.0110.00914.19
5.6.250.0190.00614.09
5.6.240.0060.01914.31
5.6.230.0100.01014.11
5.6.220.0140.00514.38
5.6.210.0110.01114.23
5.6.200.0140.01114.25
5.6.190.0070.01314.13
5.6.180.0110.00714.12
5.6.170.0120.00614.07
5.6.160.0140.01114.07
5.6.150.0130.00514.10
5.6.140.0120.01114.18
5.6.130.0170.01214.39
5.6.120.0210.00014.06
5.6.110.0070.01414.34
5.6.100.0140.01114.04
5.6.90.0090.01314.32
5.6.80.0200.00314.27
5.6.70.0140.00814.28
5.6.60.0140.00814.04
5.6.50.0150.01014.11
5.6.40.0100.01014.22
5.6.30.0140.00714.20
5.6.20.0160.00814.21
5.6.10.0210.00414.23
5.6.00.0150.00914.08
5.5.380.0150.00411.25
5.5.370.0120.00311.39
5.5.360.0100.00210.87
5.5.350.0110.00711.28
5.5.340.0160.00011.10
5.5.330.0080.00510.85
5.5.320.0130.00011.03
5.5.310.0090.00411.05
5.5.300.0050.01211.13
5.5.290.0130.00611.34
5.5.280.0110.01111.03
5.5.270.0080.00911.29
5.5.260.0090.00811.26
5.5.250.0130.00311.21
5.5.240.0120.00411.20
5.5.230.0160.00310.93
5.5.220.0190.00010.97
5.5.210.0120.00710.75
5.5.200.0190.00011.16
5.5.190.0100.00710.92
5.5.180.0120.00610.88
5.5.160.0120.00411.18
5.5.150.0070.01111.19
5.5.140.0110.00411.14
5.5.130.0080.00911.37
5.5.120.0070.00710.91
5.5.110.0100.00511.19
5.5.100.0120.00511.23
5.5.90.0070.00710.98
5.5.80.0100.00311.18
5.5.70.0110.00410.96
5.5.60.0080.00611.00
5.5.50.0140.00311.28
5.5.40.0150.00310.96
5.5.30.0080.00911.25
5.5.20.0090.00510.93
5.5.10.0120.00311.16
5.5.00.0120.00211.10
5.4.450.0110.00610.99
5.4.440.0070.01110.82
5.4.430.0110.00810.66
5.4.420.0100.00611.11
5.4.410.0060.00911.07
5.4.400.0110.00710.70
5.4.390.0180.00010.86
5.4.380.0100.00711.11
5.4.370.0070.01111.00
5.4.360.0090.00911.00
5.4.350.0100.00510.71
5.4.340.0140.01010.96
5.4.320.0060.00910.90
5.4.310.0050.01010.75
5.4.300.0090.00910.81
5.4.290.0060.00910.89
5.4.280.0090.00910.55
5.4.270.0090.00910.87
5.4.260.0090.00910.72
5.4.250.0060.00911.00
5.4.240.0170.00010.89
5.4.230.0060.01110.96
5.4.220.0120.00410.75
5.4.210.0130.00311.04
5.4.200.0040.01110.91
5.4.190.0150.00310.96
5.4.180.0130.00310.96
5.4.170.0070.01010.93
5.4.160.0110.00310.86
5.4.150.0090.00611.19
5.4.140.0110.00411.25
5.4.130.0080.00411.21
5.4.120.0000.01710.99
5.4.110.0120.00610.88
5.4.100.0160.00011.13
5.4.90.0080.00810.62
5.4.80.0040.00811.07
5.4.70.0000.01411.06
5.4.60.0080.00511.03
5.4.50.0060.00910.88
5.4.40.0070.00710.82
5.4.30.0030.01010.66
5.4.20.0070.01010.71
5.4.10.0070.00711.05
5.4.00.0090.00611.04
5.3.290.0070.00710.58
5.3.280.0090.00410.53
5.3.270.0070.00910.64
5.3.260.0110.00310.59
5.3.250.0080.00510.32
5.3.240.0110.00510.46
5.3.230.0080.00810.44
5.3.220.0070.01010.29
5.3.210.0090.00910.18
5.3.200.0100.00510.29
5.3.190.0090.00510.37
5.3.180.0140.00310.59
5.3.170.0060.00910.36
5.3.160.0120.00310.52
5.3.150.0080.00610.23
5.3.140.0040.00910.24
5.3.130.0100.00510.43
5.3.120.0070.00810.17
5.3.110.0070.00710.48
5.3.100.0100.00310.18
5.3.90.0110.00210.40
5.3.80.0080.00810.23
5.3.70.0080.00410.28
5.3.60.0110.00510.43
5.3.50.0000.01610.39
5.3.40.0110.00410.32
5.3.30.0080.00510.34
5.3.20.0100.00310.36
5.3.10.0080.00410.05
5.3.00.0070.00710.13
5.2.170.0080.0039.27
5.2.160.0080.0069.12
5.2.150.0090.0039.17
5.2.140.0060.0069.19
5.2.130.0050.0059.23
5.2.120.0110.0009.29
5.2.110.0060.0048.93
5.2.100.0090.0039.10
5.2.90.0040.0099.20
5.2.80.0100.0028.93
5.2.70.0080.0039.00
5.2.60.0080.0048.84
5.2.50.0050.0059.24
5.2.40.0060.0069.22
5.2.30.0100.0009.09
5.2.20.0030.0069.00
5.2.10.0110.0038.84
5.2.00.0100.0008.84
5.1.60.0070.0028.84
5.1.50.0070.0028.84
5.1.40.0100.0008.84
5.1.30.0050.0058.84
5.1.20.0070.0038.84
5.1.10.0030.0078.84
5.1.00.0090.0008.84
5.0.50.0000.0088.84
5.0.40.0070.0008.84
5.0.30.0030.0078.84
5.0.20.0080.0008.84
5.0.10.0080.0028.84
5.0.00.0050.0058.84
4.4.90.0060.0038.84
4.4.80.0080.0008.84
4.4.70.0030.0038.84
4.4.60.0030.0038.84
4.4.50.0030.0038.84
4.4.40.0060.0008.84
4.4.30.0030.0038.84
4.4.20.0090.0008.84
4.4.10.0040.0028.84
4.4.00.0000.0068.84
4.3.110.0000.0068.84
4.3.100.0030.0068.84
4.3.90.0080.0008.84
4.3.80.0030.0038.84
4.3.70.0030.0038.84
4.3.60.0050.0038.84
4.3.50.0090.0008.84
4.3.40.0070.0008.84
4.3.30.0000.0078.84
4.3.20.0030.0038.84
4.3.10.0030.0038.84
4.3.00.0080.0008.84

preferences:
29.7 ms | 403 KiB | 5 Q