3v4l.org

run code in 200+ PHP versions simultaneously
<?php $relate_to = array(11,22); $before = NULL; $relate_to_before = explode(',', $before); sort($relate_to_before); $relate_to_new = array_diff($relate_to, $relate_to_before); var_dump($relate_to_new);
based on PYiTX

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)
7.4.0rc20.0050.00914.74
7.4.0rc10.0100.00414.99
7.4.0beta40.0030.01214.71
7.4.0beta20.0090.00614.76
7.4.0beta10.0120.00914.77
7.4.0alpha30.0070.00914.76
7.4.0alpha20.0080.00914.94
7.4.0alpha10.0110.00714.89
7.3.100.0050.00914.57
7.3.90.0110.00314.60
7.3.80.0100.00714.70
7.3.70.0100.00714.51
7.3.60.0060.01314.52
7.3.50.0120.00314.56
7.3.40.0060.01014.54
7.3.30.0080.00814.57
7.3.20.0130.00414.55
7.3.10.0110.00314.67
7.3.00.0070.00814.79
7.2.230.0090.00714.86
7.2.220.0070.01014.84
7.2.210.0100.00714.85
7.2.200.0080.00714.98
7.2.190.0070.00814.87
7.2.180.0070.00814.78
7.2.170.0070.01114.88
7.2.160.0070.00914.91
7.2.150.0100.00714.85
7.2.140.0090.00614.92
7.2.130.0090.00714.87
7.2.120.0100.00514.82
7.2.110.0060.01014.76
7.2.100.0250.00614.89
7.2.90.0090.00614.86
7.2.80.0080.00715.01
7.2.70.0070.00814.91
7.2.60.0090.00914.97
7.2.50.0090.00614.90
7.2.40.0100.01014.93
7.2.30.0090.00614.89
7.2.20.0130.00415.02
7.2.10.0080.01014.93
7.2.00.0100.00914.94
7.1.320.0060.00813.85
7.1.310.0070.00913.95
7.1.300.0100.00513.81
7.1.290.0080.00613.79
7.1.280.0130.00113.78
7.1.270.0070.00813.78
7.1.260.0040.01113.68
7.1.250.0060.00813.81
7.1.240.0150.00313.74
7.1.230.0040.01313.75
7.1.220.0040.01113.58
7.1.210.0080.00513.92
7.1.200.0140.00013.55
7.1.190.0030.01513.63
7.1.180.0030.01313.80
7.1.170.0070.00713.50
7.1.160.0160.00013.61
7.1.150.0000.01413.59
7.1.140.0150.00013.75
7.1.130.0080.00813.36
7.1.120.0100.00313.52
7.1.110.0140.00213.45
7.1.100.0060.00813.76
7.1.90.0090.00613.82
7.1.80.0040.01013.53
7.1.70.0030.01013.46
7.1.60.0090.00913.59
7.1.50.0130.00013.88
7.1.40.0120.00613.83
7.1.30.0070.00713.87
7.1.20.0120.00413.86
7.1.10.0100.00513.90
7.1.00.0160.00313.55
7.0.330.0070.00713.05
7.0.320.0070.01013.08
7.0.310.0100.00513.17
7.0.300.0120.00313.34
7.0.290.0090.00612.98
7.0.280.0140.00013.16
7.0.270.0090.00613.12
7.0.260.0060.00813.24
7.0.250.0200.01013.43
7.0.240.0060.00813.50
7.0.230.0070.00713.30
7.0.220.0000.01313.21
7.0.210.0030.01013.61
7.0.200.0080.00413.15
7.0.190.0040.00913.43
7.0.180.0080.00813.30
7.0.170.0100.00313.16
7.0.160.0070.00713.46
7.0.150.0100.00513.39
7.0.140.0120.00313.43
7.0.130.0110.00313.20
7.0.120.0090.00913.06
7.0.110.0060.01213.33
7.0.100.0130.00613.16
7.0.90.0000.01413.15
7.0.80.0110.00313.35
7.0.70.0240.00713.47
7.0.60.0060.00613.38
7.0.50.0070.00713.18
7.0.40.0040.01113.39
7.0.30.0090.00913.63
7.0.20.0030.01513.28
7.0.10.0070.00713.41
7.0.00.0130.00013.38
5.6.400.0080.00913.88
5.6.390.0080.00814.21
5.6.380.0060.01114.41
5.6.370.0070.00913.79
5.6.360.0030.01413.80
5.6.350.0060.00914.24
5.6.340.0050.01014.17
5.6.330.0080.01113.95
5.6.320.0120.00314.40
5.6.310.0120.00314.13
5.6.300.0110.00713.94
5.6.290.0110.00513.80
5.6.280.0110.00713.75
5.6.270.0170.00713.86
5.6.260.0190.00014.09
5.6.250.0070.01414.27
5.6.240.0060.01014.16
5.6.230.0070.00713.85
5.6.220.0060.01413.98
5.6.210.0070.00714.05
5.6.200.0030.01613.94
5.6.190.0140.00313.94
5.6.180.0070.00713.95
5.6.170.0060.01014.15
5.6.160.0060.01214.27
5.6.150.0110.00613.77
5.6.140.0090.00613.89
5.6.130.0100.00614.11
5.6.120.0000.01914.24
5.6.110.0000.01314.38
5.6.100.0120.00313.96
5.6.90.0130.00313.93
5.6.80.0040.01413.85
5.6.70.0040.01213.74
5.6.60.0120.00314.16
5.6.50.0070.01014.27
5.6.40.0070.01414.12
5.6.30.0060.01313.96
5.6.20.0040.01214.00
5.6.10.0050.00913.96
5.6.00.0120.00814.09
5.5.380.0120.00314.10
5.5.370.0100.00514.12
5.5.360.0100.00314.03
5.5.350.0000.01413.73
5.5.340.0080.00814.25
5.5.330.0070.00813.99
5.5.320.0000.01414.09
5.5.310.0030.01314.10
5.5.300.0030.01014.20
5.5.290.0070.00714.12
5.5.280.0120.00314.23
5.5.270.0030.01314.07
5.5.260.0090.00913.85
5.5.250.0130.00313.71
5.5.240.0040.01213.80
5.5.230.0110.00313.89
5.5.220.0040.01113.89
5.5.210.0120.00413.79
5.5.200.0080.00813.80
5.5.190.0090.00913.89
5.5.180.0120.00613.99
5.5.170.0050.01113.93
5.5.160.0000.01513.79
5.5.150.0070.01414.02
5.5.140.0170.00313.92
5.5.130.0150.00414.17
5.5.120.0070.00713.74
5.5.110.0110.00514.11
5.5.100.0140.00214.11
5.5.90.0170.00014.09
5.5.80.0110.00714.04
5.5.70.0190.00413.62
5.5.60.0110.00613.91
5.5.50.0070.01313.80
5.5.40.0090.00613.84
5.5.30.0050.01013.96
5.5.20.0090.00614.12
5.5.10.0030.01213.96
5.5.00.0000.01413.79
5.4.450.0080.00410.79
5.4.440.0050.00510.50
5.4.430.0050.00510.67
5.4.420.0090.00410.65
5.4.410.0070.00410.99
5.4.400.0030.00910.80
5.4.390.0040.00710.93
5.4.380.0110.00010.64
5.4.370.0070.00410.39
5.4.360.0120.00010.89
5.4.350.0070.00410.43
5.4.340.0040.00810.70
5.4.330.0100.00010.78
5.4.320.0080.00510.63
5.4.310.0120.00611.11
5.4.300.0040.01210.70
5.4.290.0090.00310.69
5.4.280.0030.00810.70
5.4.270.0070.00610.76
5.4.260.0030.01010.93
5.4.250.0080.00410.36
5.4.240.0120.00010.57
5.4.230.0060.00610.58
5.4.220.0130.00310.38
5.4.210.0080.00510.71
5.4.200.0030.01010.78
5.4.190.0050.01010.45
5.4.180.0120.00010.51
5.4.170.0120.00610.56
5.4.160.0120.00310.65
5.4.150.0060.00710.71
5.4.140.0120.00310.70
5.4.130.0060.00610.59
5.4.120.0070.00410.58
5.4.110.0080.00410.61
5.4.100.0090.00310.61
5.4.90.0030.00910.76
5.4.80.0030.01010.93
5.4.70.0000.01010.61
5.4.60.0100.00010.63
5.4.50.0080.00310.74
5.4.40.0030.00710.86
5.4.30.0030.00710.85
5.4.20.0030.00810.62
5.4.10.0150.00010.68
5.4.00.0070.00710.81
5.3.290.0060.00310.46
5.3.280.0000.01010.30
5.3.270.0060.00910.46
5.3.260.0100.00510.54
5.3.250.0060.00610.54
5.3.240.0100.00410.29
5.3.230.0080.00410.20
5.3.220.0120.00010.13
5.3.210.0000.01110.22
5.3.200.0070.00410.33
5.3.190.0000.01110.34
5.3.180.0050.00510.45
5.3.170.0000.01010.46
5.3.160.0030.00710.47
5.3.150.0070.00310.43
5.3.140.0100.00010.34
5.3.130.0090.00010.19
5.3.120.0050.00510.16
5.3.110.0050.00710.36
5.3.100.0030.01010.29
5.3.90.0000.00910.31
5.3.80.0040.0059.92
5.3.70.0060.00310.14
5.3.60.0120.00010.30
5.3.50.0030.00910.21
5.3.40.0110.0059.97
5.3.30.0070.00310.13
5.3.20.0080.00610.23
5.3.10.0030.0129.88
5.3.00.0130.00010.07
5.2.170.0070.0079.55
5.2.160.0110.0059.52
5.2.150.0110.0049.52
5.2.140.0050.0109.35
5.2.130.0060.0069.41
5.2.120.0110.0059.35
5.2.110.0040.0129.37
5.2.100.0040.0109.39
5.2.90.0070.0079.35
5.2.80.0030.0089.35
5.2.70.0110.0039.35
5.2.60.0050.0099.35
5.2.50.0060.0069.35
5.2.40.0090.0039.35
5.2.30.0050.0059.35
5.2.20.0030.0099.35
5.2.10.0000.0119.35
5.2.00.0070.0039.35
5.1.60.0000.0109.35
5.1.50.0060.0039.35
5.1.40.0060.0039.35
5.1.30.0070.0039.35
5.1.20.0090.0009.35
5.1.10.0090.0009.35
5.1.00.0040.0049.35
5.0.50.0030.0069.35
5.0.40.0040.0049.35
5.0.30.0000.0079.35
5.0.20.0000.0079.35
5.0.10.0000.0089.35
5.0.00.0000.0099.35
4.4.90.0060.0039.35
4.4.80.0000.0089.35
4.4.70.0080.0009.35
4.4.60.0080.0009.35
4.4.50.0000.0089.35
4.4.40.0000.0089.35
4.4.30.0060.0009.35
4.4.20.0060.0009.35
4.4.10.0040.0049.35
4.4.00.0030.0039.35
4.3.110.0030.0039.35
4.3.100.0070.0009.35
4.3.90.0000.0079.35
4.3.80.0050.0029.35
4.3.70.0050.0029.35
4.3.60.0040.0049.35
4.3.50.0040.0039.35
4.3.40.0000.0079.35
4.3.30.0000.0079.35
4.3.20.0030.0039.35
4.3.10.0030.0039.35
4.3.00.0050.0009.35