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'])); echo PHP_EOL, PHP_EOL; var_dump(substr('abcdefgh', 'abcd'));

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.0120.00318.66
8.3.50.0090.00618.43
8.3.40.0120.00419.09
8.3.30.0110.00319.05
8.3.20.0090.00019.15
8.3.10.0030.00623.65
8.3.00.0040.00420.75
8.2.180.0090.00916.88
8.2.170.0120.00322.96
8.2.160.0060.01019.58
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0000.00820.14
8.2.120.0030.00526.35
8.2.110.0030.00719.30
8.2.100.0060.00618.09
8.2.90.0030.00518.00
8.2.80.0000.00917.97
8.2.70.0000.00918.18
8.2.60.0040.00418.34
8.2.50.0080.00018.10
8.2.40.0000.00719.47
8.2.30.0030.00519.60
8.2.20.0040.00718.14
8.2.10.0000.00718.33
8.2.00.0100.00318.00
8.1.280.0090.00925.92
8.1.270.0080.00018.82
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00319.86
8.1.230.0070.00417.83
8.1.220.0060.00317.88
8.1.210.0030.00618.77
8.1.200.0030.00617.60
8.1.190.0070.00317.38
8.1.180.0040.00418.10
8.1.170.0000.00918.75
8.1.160.0040.00419.10
8.1.150.0040.00419.08
8.1.140.0030.00322.23
8.1.130.0030.00320.21
8.1.120.0040.00717.76
8.1.110.0000.00717.73
8.1.100.0000.00817.69
8.1.90.0050.00217.67
8.1.80.0030.00517.77
8.1.70.0000.00717.70
8.1.60.0050.00317.82
8.1.50.0050.00317.66
8.1.40.0040.00417.66
8.1.30.0000.00817.75
8.1.20.0040.00417.84
8.1.10.0030.00617.70
8.1.00.0050.00217.66
8.0.300.0080.00018.77
8.0.290.0040.00417.00
8.0.280.0050.00318.51
8.0.270.0000.00717.40
8.0.260.0000.00618.54
8.0.250.0030.00517.22
8.0.240.0030.00717.19
8.0.230.0000.00717.20
8.0.220.0050.00317.09
8.0.210.0030.00317.20
8.0.200.0030.00317.12
8.0.190.0040.00417.27
8.0.180.0030.00617.30
8.0.170.0090.00017.16
8.0.160.0050.00317.23
8.0.150.0070.00017.08
8.0.140.0000.00717.21
8.0.130.0000.00613.59
8.0.120.0050.00317.07
8.0.110.0040.00417.10
8.0.100.0070.00017.08
8.0.90.0040.00417.16
8.0.80.0120.00617.20
8.0.70.0050.00317.05
8.0.60.0000.00717.25
8.0.50.0000.00717.19
8.0.30.0080.01017.46
8.0.20.0120.00617.40
8.0.10.0030.00517.34
8.0.00.0110.00917.04
7.4.330.0050.00015.55
7.4.320.0030.00316.81
7.4.300.0030.00316.81
7.4.290.0030.00316.73
7.4.280.0030.00516.84
7.4.270.0040.00416.87
7.4.260.0070.00016.75
7.4.250.0000.00716.75
7.4.240.0040.00416.70
7.4.230.0000.00816.50
7.4.220.0000.00916.84
7.4.210.0060.01016.74
7.4.200.0070.00416.78
7.4.160.0100.00816.87
7.4.140.0110.00917.86
7.4.130.0070.01116.79
7.4.120.0080.01016.79
7.4.110.0140.00416.68
7.4.100.0160.00716.57
7.4.90.0070.01016.93
7.4.80.0090.00919.39
7.4.70.0120.00916.77
7.4.60.0090.00916.65
7.4.50.0110.00316.34
7.4.40.0070.01016.85
7.4.00.0070.00715.56
7.3.330.0000.00513.61
7.3.320.0030.00313.68
7.3.310.0050.00316.44
7.3.300.0030.00316.63
7.3.290.0030.00316.63
7.3.280.0100.00616.53
7.3.260.0130.00716.68
7.3.240.0050.01116.69
7.3.230.0090.00916.72
7.3.210.0120.00416.84
7.3.200.0110.00716.70
7.3.190.0060.01016.79
7.3.180.0040.01116.63
7.3.170.0150.00616.81
7.3.160.0030.01416.68
7.2.330.0150.00316.85
7.2.320.0190.00616.62
7.2.310.0190.00716.90
7.2.300.0060.01016.93
7.2.290.0110.00517.04
7.2.110.0260.00615.02
7.2.100.0280.00414.81
7.2.90.0170.01315.23
7.2.80.0150.01215.19
7.2.70.0240.00715.20
7.2.60.0300.00715.38
7.2.50.0320.00615.14
7.2.40.0230.00715.09
7.2.30.0220.01515.32
7.2.20.0220.00615.21
7.2.10.0180.00915.31
7.2.00.0240.01215.16
7.1.230.0180.01214.25
7.1.220.0350.00013.95
7.1.210.0320.00914.21
7.1.200.0170.01013.77
7.1.190.0220.01113.98
7.1.180.0270.01013.98
7.1.170.0900.00314.05
7.1.160.0160.01013.98
7.1.150.0210.00614.02
7.1.140.0260.00614.25
7.1.130.0180.01014.00
7.1.120.0220.00614.18
7.1.110.0250.00314.21
7.1.100.0190.01214.16
7.1.90.0170.01014.04
7.1.80.0260.01114.25
7.1.70.0260.00314.30
7.1.60.0420.01231.96
7.1.50.0310.01732.13
7.1.40.0410.01232.12
7.1.30.0480.00432.23
7.1.20.0510.01032.00
7.1.10.0240.00714.21
7.1.00.0210.00414.35
5.6.380.0110.00614.54

preferences:
92.18 ms | 400 KiB | 5 Q