3v4l.org

run code in 300+ PHP versions simultaneously
<?php $originOrganizationName = 'degordian'; $registeredOrganizations = [ 'degordian', 'bornfight', // mediatoolkit, ]; $targetOrganizations = array_filter($registeredOrganizations, function ($organization) use ($originOrganizationName) { return $organization !== $originOrganizationName; } ); print_r($targetOrganizations); $tokenInArray = ['token' => 'in array']; $first = $second = $tokenInArray['token']; echo $first . " : " . $second . PHP_EOL; $TZTimeDate = 'Wed, 14 Nov 2018 06:46:11 GMT'; echo date('Y-m-d H:i:s', strtotime($TZTimeDate)); $requestOptions = [ 'showDeleted' => true, 'singleEvents' => true, 'pageToken' => '' ]; echo PHP_EOL; var_dump(empty($requestOptions['pageToken']));

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.01418.40
8.3.50.0040.01116.74
8.3.40.0040.01419.00
8.3.30.0070.00719.09
8.3.20.0040.00418.93
8.3.10.0100.00723.42
8.3.00.0050.00319.87
8.2.180.0150.00016.75
8.2.170.0130.00622.96
8.2.160.0080.00820.41
8.2.150.0030.00624.18
8.2.140.0070.00024.66
8.2.130.0050.00320.02
8.2.120.0080.00026.35
8.2.110.0000.00921.18
8.2.100.0080.00418.28
8.2.90.0090.00018.16
8.2.80.0030.00618.16
8.2.70.0080.00018.04
8.2.60.0040.00418.34
8.2.50.0110.00018.10
8.2.40.0030.00519.43
8.2.30.0040.00419.35
8.2.20.0000.00818.27
8.2.10.0070.00019.43
8.2.00.0030.00617.86
8.1.280.0180.00425.92
8.1.270.0080.00019.13
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0050.00522.47
8.1.230.0070.00422.73
8.1.220.0030.00617.77
8.1.210.0040.00419.07
8.1.200.0040.00817.47
8.1.190.0030.00617.65
8.1.180.0090.00318.10
8.1.170.0040.00418.82
8.1.160.0000.00819.10
8.1.150.0030.00519.11
8.1.140.0040.00423.98
8.1.130.0000.00720.23
8.1.120.0040.00417.76
8.1.110.0030.00517.62
8.1.100.0080.00017.56
8.1.90.0040.00417.70
8.1.80.0030.00517.66
8.1.70.0020.00517.75
8.1.60.0000.00917.71
8.1.50.0080.00017.61
8.1.40.0000.00917.63
8.1.30.0000.00717.92
8.1.20.0060.00317.86
8.1.10.0000.00717.75
8.1.00.0080.00017.79
8.0.300.0070.00019.90
8.0.290.0030.00617.00
8.0.280.0030.00518.50
8.0.270.0030.00317.40
8.0.260.0000.00620.28
8.0.250.0070.00017.13
8.0.240.0040.00417.22
8.0.230.0030.00617.21
8.0.220.0000.00717.18
8.0.210.0030.00317.04
8.0.200.0040.00417.14
8.0.190.0000.00717.13
8.0.180.0060.00317.18
8.0.170.0060.00317.17
8.0.160.0060.00316.99
8.0.150.0000.00717.11
8.0.140.0030.00517.13
8.0.130.0030.00513.52
8.0.120.0050.00217.14
8.0.110.0040.00416.96
8.0.100.0070.00017.04
8.0.90.0070.00017.24
8.0.80.0080.01217.14
8.0.70.0040.00417.00
8.0.60.0040.00417.01
8.0.50.0000.00717.02
8.0.30.0110.00917.32
8.0.20.0110.00817.46
8.0.10.0000.00717.23
8.0.00.0080.01017.07
7.4.330.0060.00015.55
7.4.320.0000.00716.66
7.4.300.0040.00416.71
7.4.290.0030.00516.84
7.4.280.0000.00716.70
7.4.270.0000.00816.78
7.4.260.0040.00416.79
7.4.250.0030.00316.52
7.4.240.0000.00716.70
7.4.230.0070.00016.64
7.4.220.0030.00516.72
7.4.210.0030.01216.78
7.4.200.0000.00816.62
7.4.160.0090.00816.63
7.4.140.0130.00717.86
7.4.130.0110.01116.87
7.4.120.0120.01016.74
7.4.110.0100.00716.64
7.4.100.0040.01216.66
7.4.90.0100.00716.70
7.4.80.0090.00919.39
7.4.70.0120.00916.60
7.4.60.0070.01116.63
7.4.50.0030.01416.73
7.4.40.0110.00716.67
7.4.10.0080.00815.24
7.4.00.0090.00715.08
7.3.330.0000.00513.56
7.3.320.0050.00013.56
7.3.310.0030.00616.59
7.3.300.0000.00716.51
7.3.290.0070.00016.47
7.3.280.0050.01516.51
7.3.260.0120.01216.71
7.3.240.0090.00816.65
7.3.230.0170.00316.70
7.3.210.0140.00316.67
7.3.200.0150.00616.62
7.3.190.0030.01316.82
7.3.180.0120.00916.81
7.3.170.0030.01316.63
7.3.160.0060.01116.88
7.3.130.0030.01215.18
7.3.120.0060.01015.11
7.3.110.0050.01115.01
7.3.100.0050.00915.09
7.3.90.0050.00915.11
7.3.80.0070.00915.15
7.3.70.0080.00515.01
7.3.60.0050.00715.09
7.3.50.0070.00615.07
7.3.40.0060.00915.03
7.3.30.0060.00914.96
7.3.20.0050.00916.81
7.3.10.0070.00616.86
7.3.00.0070.00816.81
7.2.330.0100.01617.06
7.2.320.0140.00316.78
7.2.310.0070.01017.03
7.2.300.0100.00616.80
7.2.290.0080.00817.01
7.2.260.0050.01215.44
7.2.250.0070.01015.40
7.2.240.0060.01215.28
7.2.230.0060.01015.34
7.2.220.0050.00815.28
7.2.210.0050.01015.44
7.2.200.0080.00515.37
7.2.190.0080.00715.30
7.2.180.0040.00815.21
7.2.170.0040.01115.31
7.2.160.0080.00715.35
7.2.150.0050.00917.16
7.2.140.0060.01017.26
7.2.130.0050.00717.07
7.2.120.0100.00717.17
7.2.110.1010.00316.43
7.2.100.1860.00616.64
7.2.90.0990.01316.55
7.2.80.1430.00516.44
7.2.70.1110.00616.57
7.2.60.1290.01016.81
7.2.50.0900.00516.64
7.2.40.1040.00416.58
7.2.30.0880.00716.55
7.2.20.1070.00716.64
7.2.10.1240.00916.68
7.2.00.1050.00616.63
7.1.330.0070.00816.12
7.1.320.0040.00816.10
7.1.310.0030.01216.02
7.1.300.0070.00615.88
7.1.290.0050.00716.06
7.1.280.0050.00716.07
7.1.270.0050.01015.92
7.1.260.0040.00916.02
7.1.250.0140.00516.06
7.1.240.0040.01116.01
7.1.230.1430.00515.52
7.1.220.1110.00915.44
7.1.210.1720.01115.32
7.1.200.1430.00915.36
7.1.190.1440.00615.46
7.1.180.1520.01015.40
7.1.170.1450.00715.54
7.1.160.1660.00915.25
7.1.150.1540.01015.21
7.1.140.1370.00915.41
7.1.130.1650.00815.33
7.1.120.1640.00715.40
7.1.110.1900.01015.30
7.1.100.1530.00615.24
7.1.90.1350.00515.44
7.1.80.1470.00715.40
7.1.70.1460.00715.23
7.1.60.1910.01121.34
7.1.50.2990.00521.31
7.1.40.2370.01221.31
7.1.30.2780.00821.05
7.1.20.2290.00721.33
7.1.10.1660.00315.39
7.1.00.1960.00915.26
7.0.330.0090.00515.58
7.0.320.0070.00615.52
7.0.310.0080.00315.68
7.0.300.0100.00215.67
7.0.290.0100.00515.47
7.0.280.0040.00815.41
7.0.270.0050.00815.69
7.0.260.0050.00715.37
7.0.250.0070.00715.47
7.0.240.0070.00615.59
7.0.230.0060.00615.68
7.0.220.0090.00615.46
7.0.210.0080.00715.67
7.0.200.0100.00715.48
7.0.190.0060.00715.58
7.0.180.0020.01315.66
7.0.170.0060.00815.43
7.0.160.0050.00615.42
7.0.150.0040.00915.59
7.0.140.0070.00615.68
7.0.130.0040.00815.59
7.0.120.0070.00515.55
7.0.110.0030.01115.57
7.0.100.0030.01115.42
7.0.90.0070.00715.38
7.0.80.0060.00915.53
7.0.70.0070.00415.64
7.0.60.0060.00915.63
7.0.50.0050.00815.78
7.0.40.0080.00513.56
7.0.30.0080.00413.49
7.0.20.0070.00713.47
7.0.10.0040.01013.55
7.0.00.0010.00913.62
5.6.400.0060.00814.63
5.6.390.0070.00614.56
5.6.380.0060.01114.54
5.6.370.0050.00514.57
5.6.360.0010.00814.69
5.6.350.0070.00914.63
5.6.340.0020.01314.58
5.6.330.0040.00814.71
5.6.320.0110.00414.63
5.6.310.0070.00914.49
5.6.300.0110.00614.69
5.6.290.0030.01314.77
5.6.280.0060.00814.58
5.6.270.0030.01214.55
5.6.260.0080.00614.63
5.6.250.0060.01114.45
5.6.240.0030.01114.44
5.6.230.0030.01214.60
5.6.220.0000.01314.55
5.6.210.0020.00914.57
5.6.200.0060.01014.64
5.6.190.0080.00814.45
5.6.180.0090.00514.55
5.6.170.0050.00614.79
5.6.160.0050.00914.55
5.6.150.0040.00414.40
5.6.140.0090.00514.65
5.6.130.0020.00914.54
5.6.120.0070.00914.48
5.6.110.0050.01114.64
5.6.100.0050.01214.51
5.6.90.0020.01214.49
5.6.80.0040.00414.51
5.6.70.0070.00414.60
5.6.60.0060.00514.49
5.6.50.0050.00814.39
5.6.40.0070.00814.63
5.6.30.0030.00714.59
5.6.20.0020.01014.58
5.6.10.0050.01014.40
5.6.00.0100.00414.59

preferences:
38 ms | 400 KiB | 5 Q