3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public $a; } class B extends A { public $b; } $a = new B(); $a->a = 0; $a->b = 1; $b = new B(); $b->a = 1; $b->b = 0; var_dump($a < $b); print_r($a, true); var_dump($a < $b);

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.90.0040.01126.77
8.3.80.0030.00619.36
8.3.70.0060.01216.58
8.3.60.0070.01418.56
8.3.50.0120.00817.16
8.3.40.0180.00418.75
8.3.30.0110.00418.46
8.3.20.0040.00418.66
8.3.10.0000.00823.61
8.3.00.0070.00023.66
8.2.210.0000.00726.77
8.2.200.0040.00418.88
8.2.190.0150.00316.59
8.2.180.0100.01418.29
8.2.170.0090.00622.96
8.2.160.0100.00319.29
8.2.150.0050.00324.18
8.2.140.0060.00324.66
8.2.130.0060.00322.26
8.2.120.0040.00426.35
8.2.110.0070.00322.13
8.2.100.0000.01217.54
8.2.90.0060.00319.04
8.2.80.0040.00417.97
8.2.70.0000.00817.93
8.2.60.0080.00018.16
8.2.50.0030.00518.10
8.2.40.0040.00419.41
8.2.30.0030.00520.62
8.2.20.0070.00017.93
8.2.10.0040.00418.04
8.2.00.0030.00519.42
8.1.290.0040.00730.84
8.1.280.0040.01125.92
8.1.270.0080.00023.83
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00722.42
8.1.230.0070.00418.95
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0000.00817.47
8.1.190.0050.00317.13
8.1.180.0030.00518.10
8.1.170.0000.00818.64
8.1.160.0000.00718.88
8.1.150.0000.00718.87
8.1.140.0000.00718.88
8.1.130.0060.00320.07
8.1.120.0000.00817.50
8.1.110.0000.00717.45
8.1.100.0090.00017.42
8.1.90.0030.00617.48
8.1.80.0000.00717.45
8.1.70.0050.00517.41
8.1.60.0000.00817.59
8.1.50.0040.00417.53
8.1.40.0060.00317.52
8.1.30.0030.00517.66
8.1.20.0050.00317.66
8.1.10.0000.00817.44
8.1.00.0050.00217.32
8.0.300.0000.00718.77
8.0.290.0000.00716.63
8.0.280.0050.00218.38
8.0.270.0080.00017.26
8.0.260.0000.00718.35
8.0.250.0000.00716.93
8.0.240.0060.00016.85
8.0.230.0000.00716.91
8.0.220.0030.00316.78
8.0.210.0060.00316.89
8.0.200.0030.00316.96
8.0.190.0000.00716.89
8.0.180.0080.00016.80
8.0.170.0090.00016.92
8.0.160.0040.00416.82
8.0.150.0060.00316.83
8.0.140.0080.00016.75
8.0.130.0050.00013.27
8.0.120.0090.00016.72
8.0.110.0040.00416.80
8.0.100.0000.00817.00
8.0.90.0050.00316.70
8.0.80.0070.01016.86
8.0.70.0030.00316.77
8.0.60.0030.00516.84
8.0.50.0040.00416.80
8.0.30.0110.00817.09
8.0.20.0060.01217.40
8.0.10.0040.00416.88
8.0.00.0060.01516.65
7.4.330.0050.00015.55
7.4.320.0060.00016.42
7.4.300.0030.00316.57
7.4.290.0040.00716.54
7.4.280.0070.00016.51
7.4.270.0030.00316.51
7.4.260.0020.00516.56
7.4.250.0050.00316.46
7.4.240.0070.00016.53
7.4.230.0070.00016.57
7.4.220.0030.00616.50
7.4.210.0130.00316.59
7.4.200.0040.00416.50
7.4.160.0100.00716.45
7.4.140.0100.00917.86
7.4.130.0160.00916.41
7.4.120.0090.01116.45
7.4.110.0070.01016.59
7.4.100.0060.01316.60
7.4.90.0140.00316.51
7.4.80.0150.00619.39
7.4.70.0140.01016.32
7.4.60.0040.01916.37
7.4.50.0000.01116.26
7.4.40.0120.00616.47
7.4.00.0090.00714.76
7.3.330.0050.00013.16
7.3.320.0000.00513.16
7.3.310.0000.00716.33
7.3.300.0030.00316.34
7.3.290.0020.00516.16
7.3.280.0060.00916.31
7.3.260.0110.00916.41
7.3.240.0090.00816.50
7.3.230.0070.01016.57
7.3.210.0140.00316.17
7.3.200.0030.01416.70
7.3.190.0040.01516.39
7.3.180.0090.01216.32
7.3.170.0160.00616.34
7.3.160.0060.01016.32
7.3.120.0140.00314.68
7.3.110.0080.01115.08
7.3.100.0120.00614.57
7.3.90.0090.00314.81
7.3.80.0080.00014.57
7.3.70.0080.00814.70
7.3.60.0000.01514.84
7.3.50.0090.00614.65
7.3.40.0030.01014.88
7.3.30.0000.01214.80
7.3.20.0070.01016.67
7.3.10.0070.00816.53
7.3.00.0060.00816.55
7.2.330.0000.01716.60
7.2.320.0070.01516.53
7.2.310.0090.01216.66
7.2.300.0140.00316.50
7.2.290.0080.00816.44
7.2.250.0070.01114.70
7.2.240.0120.00315.04
7.2.230.0030.01015.13
7.2.220.0000.01314.92
7.2.210.0070.00314.61
7.2.200.0070.00714.81
7.2.190.0030.01314.98
7.2.180.0060.00915.00
7.2.170.0030.00914.82
7.2.160.0030.00614.82
7.2.150.0060.01216.91
7.2.140.0060.00916.63
7.2.130.0080.00516.75
7.2.120.0070.00916.80
7.2.110.0070.00716.66
7.2.100.0100.00616.57
7.2.90.1000.00616.30
7.2.80.0710.01116.40
7.2.70.0590.00816.43
7.2.60.0700.00616.25
7.2.50.0760.01016.33
7.2.40.0580.00716.39
7.2.30.0770.00716.23
7.2.20.0610.00816.20
7.2.10.0560.00716.32
7.2.00.0570.00516.31
7.1.330.0000.01615.84
7.1.320.0060.00915.79
7.1.310.0090.00015.86
7.1.300.0070.00715.77
7.1.290.0040.00715.82
7.1.280.0060.00915.78
7.1.270.0110.00015.63
7.1.260.0040.00815.80
7.1.250.0080.00815.61
7.1.240.0050.00815.80
7.1.230.0040.00815.87
7.1.220.0080.00415.59
7.1.210.0330.01014.66
7.1.200.1750.01014.59
7.1.190.1700.00914.74
7.1.180.1760.00514.87
7.1.170.1360.00314.63
7.1.160.1630.01314.71
7.1.150.1360.00714.58
7.1.140.1260.01014.66
7.1.130.1670.00314.50
7.1.120.1510.00114.59
7.1.110.0470.00914.56
7.1.100.0630.00814.72
7.1.90.0520.00914.71
7.1.80.0510.00514.71
7.1.70.0550.00814.78
7.1.60.0490.01023.92
7.1.50.0760.01023.71
7.1.40.0840.01023.77
7.1.30.0720.00923.80
7.1.20.0800.00623.72
7.1.10.1470.00615.00
7.1.00.0450.00514.73
7.0.330.0070.00715.37
7.0.320.0060.00615.56
7.0.310.1820.00814.24
7.0.300.1440.01314.36
7.0.290.1620.00614.35
7.0.280.1430.01214.39
7.0.270.1230.00514.50
7.0.260.0610.00814.24
7.0.250.0540.00714.42
7.0.240.0530.01014.60
7.0.230.0480.00614.52
7.0.220.0490.00514.46
7.0.210.0380.01314.40
7.0.200.0660.00614.49
7.0.190.0550.00514.46
7.0.180.0760.00514.43
7.0.170.0620.00314.49
7.0.160.0530.00614.25
7.0.150.0510.00814.41
7.0.140.0520.00814.45
7.0.130.0580.00814.34
7.0.120.0500.01314.47
7.0.110.0430.00814.55
7.0.100.0570.00714.48
7.0.90.0520.01114.30
7.0.80.0420.01214.49
7.0.70.0540.00514.49
7.0.60.0390.00814.38
7.0.50.0440.00514.67
7.0.40.0480.00513.83
7.0.30.0350.00513.76
7.0.20.0470.00713.73
7.0.10.0440.00513.77
7.0.00.0360.00513.92
5.6.400.0100.00314.67
5.6.390.0040.01114.31
5.6.380.0030.00714.24
5.6.370.0000.01514.30
5.6.360.0060.00914.34
5.6.350.0000.01314.28
5.6.340.0040.00814.71
5.6.330.0120.00414.16
5.6.320.0040.00814.45
5.6.310.0030.01014.21
5.6.300.0100.00614.26
5.6.290.0090.00914.49
5.6.280.0080.01014.46
5.6.270.0080.01014.42
5.6.260.0130.00614.35
5.6.250.0150.00314.32
5.6.240.0090.00714.48
5.6.230.0070.00914.14
5.6.220.0090.00514.30
5.6.210.0110.00614.34
5.6.200.0070.01114.27
5.6.190.0050.01214.44
5.6.180.0060.01014.23
5.6.170.0100.00814.40
5.6.160.0080.00614.46
5.6.150.0110.00714.30
5.6.140.0110.00914.21
5.6.130.0080.00914.35
5.6.120.0150.00314.52
5.6.110.0050.01214.20
5.6.100.0130.00614.37
5.6.90.0150.00114.29
5.6.80.0060.01114.32
5.6.70.0070.01014.30
5.6.60.0080.01114.23
5.6.50.0040.01314.36
5.6.40.0080.00714.19
5.6.30.0040.01014.15
5.6.20.0070.00914.31
5.6.10.0110.00414.13
5.6.00.0100.00614.28
5.5.380.0120.00211.09
5.5.370.0140.00011.27
5.5.360.0080.00811.52
5.5.350.0080.00811.23
5.5.340.0080.00811.18
5.5.330.0130.00311.28
5.5.320.0110.00311.25
5.5.310.0140.00311.13
5.5.300.0120.00411.37
5.5.290.0140.00311.16
5.5.280.0140.00311.34
5.5.270.0080.00811.04
5.5.260.0000.01610.82
5.5.250.0140.00310.98
5.5.240.0090.00711.32
5.5.230.0050.01011.24
5.5.220.0100.00711.07
5.5.210.0100.00510.89
5.5.200.0120.00110.93
5.5.190.0120.00310.80
5.5.180.0030.01311.24
5.5.170.0120.00814.17
5.5.160.0130.00011.03
5.5.150.0060.00910.97
5.5.140.0100.00410.97
5.5.130.0100.00311.23
5.5.120.0150.00310.79
5.5.110.0040.01310.84
5.5.100.0130.00011.18
5.5.90.0160.00011.15
5.5.80.0070.01011.02
5.5.70.0140.00311.19
5.5.60.0130.00310.94
5.5.50.0090.00610.89
5.5.40.0110.00710.95
5.5.30.0130.00011.24
5.5.20.0060.00910.96
5.5.10.0050.01010.97
5.5.00.0160.00011.28
5.4.450.0090.00611.14
5.4.440.0150.00010.99
5.4.430.0080.00810.90
5.4.420.0120.00311.12
5.4.410.0070.00711.01
5.4.400.0120.00310.74
5.4.390.0070.00710.96
5.4.380.0080.00810.84
5.4.370.0090.00610.70
5.4.360.0110.00310.98
5.4.350.0090.00711.04
5.4.340.0140.00311.07
5.4.330.0030.01310.98
5.4.320.0030.01210.93
5.4.310.0090.00511.16
5.4.300.0100.00510.73
5.4.290.0110.00211.17
5.4.280.0130.00010.86
5.4.270.0130.00010.98
5.4.260.0150.00110.73
5.4.250.0100.00311.07
5.4.240.0130.00311.01
5.4.230.0090.00610.80
5.4.220.0050.01010.95
5.4.210.0100.00710.97
5.4.200.0120.00410.88
5.4.190.0070.00811.05
5.4.180.0100.00710.91
5.4.170.0180.00410.83
5.4.160.0130.00210.93
5.4.150.0100.00511.07
5.4.140.0100.00611.04
5.4.130.0050.00811.12
5.4.120.0080.00811.31
5.4.110.0130.00310.82
5.4.100.0130.00411.05
5.4.90.0140.00011.24
5.4.80.0110.00010.94
5.4.70.0090.00610.95
5.4.60.0070.00410.98
5.4.50.0080.00811.10
5.4.40.0100.00511.00
5.4.30.0090.00410.95
5.4.20.0060.00611.09
5.4.10.0060.00611.19
5.4.00.0110.00511.16
5.3.290.0100.00310.51
5.3.280.0060.00910.65
5.3.270.0100.00310.46
5.3.260.0040.00810.50
5.3.250.0020.01010.46
5.3.240.0070.00710.46
5.3.230.0060.00910.56
5.3.220.0100.00510.46
5.3.210.0100.00410.46
5.3.200.0050.00910.46
5.3.190.0100.00310.46
5.3.180.0130.00010.61
5.3.170.0050.00710.59
5.3.160.0120.00210.59
5.3.150.0090.00610.49
5.3.140.0090.00510.47
5.3.130.0060.00710.46
5.3.120.0070.00710.46
5.3.110.0090.00610.46
5.3.100.0080.00410.46
5.3.90.0000.01410.52
5.3.80.0060.00810.46
5.3.70.0000.01110.46
5.3.60.0140.00010.46
5.3.50.0040.01110.46
5.3.40.0100.00310.46
5.3.30.0110.00310.46
5.3.20.0110.00210.46
5.3.10.0000.01410.46
5.3.00.0110.00310.46
5.2.170.0070.00410.46
5.2.160.0070.00410.46
5.2.150.0060.00610.46
5.2.140.0080.00310.46
5.2.130.0060.00610.46
5.2.120.0100.00010.46
5.2.110.0090.00310.46
5.2.100.0120.00010.46
5.2.90.0040.00810.46
5.2.80.0070.00410.46
5.2.70.0070.00410.46
5.2.60.0100.00410.46
5.2.50.0040.00810.46
5.2.40.0100.00310.46
5.2.30.0130.00010.46
5.2.20.0100.00010.46
5.2.10.0060.00710.46
5.2.00.0070.00310.46
5.1.60.0030.00610.46
5.1.50.0050.00510.46
5.1.40.0050.00510.46
5.1.30.0070.00410.46
5.1.20.0100.00010.46
5.1.10.0070.00310.46
5.1.00.0100.00010.46
5.0.50.0030.00310.46
5.0.40.0060.00310.46
5.0.30.0060.00310.46
5.0.20.0000.00910.46
5.0.10.0060.00310.46
5.0.00.0040.00410.46
4.4.90.0050.00310.46
4.4.80.0040.00310.46
4.4.70.0070.00010.46
4.4.60.0000.00710.46
4.4.50.0040.00210.46
4.4.40.0000.00810.46
4.4.30.0030.00410.46
4.4.20.0000.00810.46
4.4.10.0070.00010.46
4.4.00.0060.00210.46
4.3.110.0040.00210.46
4.3.100.0050.00210.46
4.3.90.0080.00010.46
4.3.80.0070.00010.46
4.3.70.0000.00710.46
4.3.60.0040.00210.46
4.3.50.0000.00810.46
4.3.40.0060.00010.46
4.3.30.0050.00210.46
4.3.20.0060.00010.46
4.3.10.0060.00010.46
4.3.00.0030.00310.46

preferences:
65.84 ms | 401 KiB | 5 Q