3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Enter your code here, enjoy! $array = array(); $array[] = "usernaam1"; $array[] = "usernaam2"; $array[] = "usernaam3"; $array[] = "usernaam4"; foreach( $array as $key => $usernaam ){ $get_transient = TRUE; if ( false === $get_transient ) { // It is there, so don't do anything. echo sprintf( "Doing nothing for %s\n", $usernaam ); break; } echo sprintf( "Fetching data for %s\n", $usernaam ); //echo $key."\t=>\t".$value."\n"; } echo "hallo";

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.70.0120.00416.58
8.3.60.0090.01218.55
8.3.50.0110.00821.20
8.3.40.0070.01418.89
8.3.30.0110.00320.20
8.3.20.0050.00320.16
8.3.10.0040.00422.09
8.3.00.0000.00822.30
8.2.180.0040.01816.38
8.2.170.0070.01422.96
8.2.160.0030.01022.05
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0020.00526.16
8.2.120.0020.00520.80
8.2.110.0030.00620.43
8.2.100.0040.00819.57
8.2.90.0060.00319.33
8.2.80.0050.00219.22
8.2.70.0040.00417.63
8.2.60.0060.00318.03
8.2.50.0030.00518.07
8.2.40.0030.00619.95
8.2.30.0030.00719.49
8.2.20.0040.00417.77
8.2.10.0040.00417.68
8.2.00.0000.00717.69
8.1.280.0040.01125.92
8.1.270.0060.00323.99
8.1.260.0050.00226.35
8.1.250.0080.00028.09
8.1.240.0060.00323.99
8.1.230.0000.01119.04
8.1.220.0040.00417.78
8.1.210.0030.00618.77
8.1.200.0030.00617.22
8.1.190.0040.00417.54
8.1.180.0050.00318.10
8.1.170.0030.00618.50
8.1.160.0030.00518.91
8.1.150.0000.00818.57
8.1.140.0000.00817.49
8.1.130.0030.00517.86
8.1.120.0000.00717.39
8.1.110.0030.00517.39
8.1.100.0000.00817.43
8.1.90.0060.00617.46
8.1.80.0040.00417.50
8.1.70.0000.00717.33
8.1.60.0000.00917.60
8.1.50.0000.00717.48
8.1.40.0070.00017.46
8.1.30.0000.00817.55
8.1.20.0080.00017.53
8.1.10.0000.00817.39
8.1.00.0000.00817.40
8.0.300.0040.00418.77
8.0.290.0000.00717.16
8.0.280.0070.00018.49
8.0.270.0050.00217.25
8.0.260.0000.00716.81
8.0.250.0000.00716.93
8.0.240.0090.00016.91
8.0.230.0030.00316.83
8.0.220.0030.00316.93
8.0.210.0040.00416.82
8.0.200.0000.00816.91
8.0.190.0000.00716.87
8.0.180.0020.00516.94
8.0.170.0040.00416.87
8.0.160.0000.00716.71
8.0.150.0040.00416.73
8.0.140.0000.00716.87
8.0.130.0050.00013.29
8.0.120.0030.00616.76
8.0.110.0040.00416.94
8.0.100.0080.00016.89
8.0.90.0030.00516.95
8.0.80.0040.01416.93
8.0.70.0000.00816.84
8.0.60.0040.00416.92
8.0.50.0040.00416.77
8.0.30.0050.01416.94
8.0.20.0130.00717.41
8.0.10.0000.00716.98
8.0.00.0110.00916.83
7.4.330.0000.00515.00
7.4.320.0000.00716.50
7.4.300.0000.00616.51
7.4.290.0000.00716.49
7.4.280.0040.00416.40
7.4.270.0000.00716.61
7.4.260.0040.00413.16
7.4.250.0040.00416.53
7.4.240.0050.00216.60
7.4.230.0030.00316.70
7.4.220.0160.00616.54
7.4.210.0090.00616.55
7.4.200.0080.00016.42
7.4.190.0000.00716.75
7.4.160.0130.00416.56
7.4.150.0060.01117.40
7.4.140.0080.01217.86
7.4.130.0070.01216.51
7.4.120.0080.00816.40
7.4.110.0060.01616.46
7.4.100.0150.00316.41
7.4.90.0120.00616.38
7.4.80.0150.00719.39
7.4.70.0090.00616.55
7.4.60.0100.00716.46
7.4.50.0030.00616.55
7.4.40.0060.00522.77
7.4.30.0030.01316.56
7.4.10.0070.00915.55
7.4.00.0050.00915.41
7.3.330.0050.00013.26
7.3.320.0000.00613.14
7.3.310.0030.00316.22
7.3.300.0000.00716.17
7.3.290.0160.00016.27
7.3.280.0080.00816.31
7.3.270.0090.01317.40
7.3.260.0080.00816.40
7.3.250.0070.01516.40
7.3.240.0070.01016.40
7.3.230.0060.01016.61
7.3.210.0330.02616.49
7.3.200.0060.01619.39
7.3.190.0040.01716.29
7.3.180.0060.00916.36
7.3.170.0170.00016.44
7.3.160.0140.00616.43
7.3.130.0040.01315.32
7.3.120.0060.01015.37
7.3.110.0070.00915.25
7.3.100.0060.00815.38
7.3.90.0120.00415.62
7.3.80.0080.00515.71
7.3.70.0090.00515.63
7.3.60.0100.00415.59
7.3.50.0070.00415.57
7.3.40.0040.00915.54
7.3.30.0100.00215.44
7.3.20.0070.00417.38
7.3.10.0060.00717.32
7.3.00.0030.00817.31
7.2.330.0160.00716.69
7.2.320.0130.00516.71
7.2.310.0040.01216.68
7.2.300.0120.00416.59
7.2.290.0110.00416.39
7.2.260.0080.01115.75
7.2.250.0040.01515.75
7.2.240.0080.00815.77
7.2.230.0050.01015.68
7.2.220.0020.01115.87
7.2.210.0050.00515.73
7.2.200.0090.00715.85
7.2.190.0030.01315.57
7.2.180.0090.00515.83
7.2.170.0050.01015.73
7.2.160.0060.00715.69
7.2.150.0050.00717.57
7.2.140.0080.00817.53
7.2.130.0050.00817.61
7.2.120.0070.00717.67
7.2.110.0070.00517.55
7.2.100.0100.00317.55
7.2.90.0070.00817.70
7.2.80.0070.01117.66
7.2.70.0070.00817.50
7.2.60.0060.00917.35
7.2.50.0050.00717.61
7.2.40.0060.00917.64
7.2.30.0020.01017.68
7.2.20.0070.00717.61
7.2.10.0100.00817.55
7.2.00.0060.00718.15
7.1.330.0090.00516.57
7.1.320.0050.01016.53
7.1.310.0060.00816.45
7.1.300.0050.00516.41
7.1.290.0040.00816.43
7.1.280.0040.00916.64
7.1.270.0010.01116.46
7.1.260.0030.01016.47
7.1.250.0050.00716.58
7.1.240.0030.01016.65
7.1.230.0050.00916.64
7.1.220.0040.01116.30
7.1.210.0040.01116.38
7.1.200.0080.00616.28
7.1.190.0050.01116.59
7.1.180.0060.00816.32
7.1.170.0070.00916.60
7.1.160.0050.00716.59
7.1.150.0030.00916.28
7.1.140.0120.00216.39
7.1.130.0060.00416.42
7.1.120.0070.00716.53
7.1.110.0050.00716.59
7.1.100.0060.00816.99
7.1.90.0020.01316.45
7.1.80.0070.00516.45
7.1.70.0050.00716.86
7.1.60.0100.01017.50
7.1.50.0060.00916.67
7.1.40.0100.00216.52
7.1.30.0050.00516.49
7.1.20.0050.00916.47
7.1.10.0030.00816.53
7.1.00.0060.01418.43
7.0.330.0040.00816.20
7.0.320.0120.00516.19
7.0.310.0070.00815.95
7.0.300.0030.00816.17
7.0.290.0080.00516.00
7.0.280.0050.01016.21
7.0.270.0050.00816.16
7.0.260.0030.00816.15
7.0.250.0060.00616.17
7.0.240.0050.01116.26
7.0.230.0080.00516.26
7.0.220.0020.01216.15
7.0.210.0020.01216.18
7.0.200.0030.01016.30
7.0.190.0050.00916.28
7.0.180.0030.01016.13
7.0.170.0070.00716.17
7.0.160.0050.00816.03
7.0.150.0050.00716.06
7.0.140.0070.02518.10
7.0.130.0020.00815.95
7.0.120.0010.00915.88
7.0.110.0050.00616.24
7.0.100.0100.01417.39
7.0.90.0060.02317.46
7.0.80.0060.02217.21
7.0.70.0100.01717.38
7.0.60.0060.02317.39
7.0.50.0140.02017.34
7.0.40.0020.02216.09
7.0.30.0060.02116.09
7.0.20.0050.02116.21
7.0.10.0040.03016.13
7.0.00.0100.02516.13
5.6.400.0070.01015.36
5.6.390.0070.00815.10
5.6.380.0070.00815.29
5.6.370.0080.00715.13
5.6.360.0060.00714.85
5.6.350.0020.01315.28
5.6.340.0080.00515.00
5.6.330.0080.00614.95
5.6.320.0060.00715.08
5.6.310.0030.00915.07
5.6.300.0030.01215.07
5.6.290.0060.00714.94
5.6.280.0060.03017.29
5.6.270.0060.00815.27
5.6.260.0020.01115.16
5.6.250.0060.01516.79
5.6.240.0050.02117.03
5.6.230.0070.02816.93
5.6.220.0080.01916.84
5.6.210.0050.02416.91
5.6.200.0050.01817.13
5.6.190.0050.01917.14
5.6.180.0040.02316.97
5.6.170.0040.03017.06
5.6.160.0110.02217.03
5.6.150.0060.02917.03
5.6.140.0070.02517.00
5.6.130.0050.02117.12
5.6.120.0080.02217.08
5.6.110.0050.02917.04
5.6.100.0070.01917.01
5.6.90.0080.02317.20
5.6.80.0060.01716.75
5.6.70.0050.02516.87
5.6.60.0070.02116.85
5.6.50.0070.02316.74
5.6.40.0080.01516.94
5.6.30.0070.02416.69
5.6.20.0060.02516.73
5.6.10.0070.01916.72
5.6.00.0110.02016.78
5.5.380.0050.03216.86
5.5.370.0050.02416.83
5.5.360.0050.02216.90
5.5.350.0030.02016.83
5.5.340.0030.02317.07
5.5.330.0040.02117.05
5.5.320.0080.01916.96
5.5.310.0060.02317.02
5.5.300.0120.01516.88
5.5.290.0100.01617.00
5.5.280.0040.02716.95
5.5.270.0070.02717.04
5.5.260.0090.03017.03
5.5.250.0030.03416.94
5.5.240.0070.02216.67
5.5.230.0060.02016.74
5.5.220.0040.02316.74
5.5.210.0090.02516.70
5.5.200.0080.02916.79
5.5.190.0050.01816.78
5.5.180.0060.02016.57
5.5.170.0060.01014.94
5.5.160.0120.02116.74
5.5.150.0030.02316.71
5.5.140.0040.02616.85
5.5.130.0080.02516.64
5.5.120.0060.02916.58
5.5.110.0050.02316.63
5.5.100.0060.02416.71
5.5.90.0050.02716.83
5.5.80.0030.02716.69
5.5.70.0050.02516.79
5.5.60.0050.01916.53
5.5.50.0080.01916.73
5.5.40.0070.02016.54
5.5.30.0060.02116.68
5.5.20.0060.01916.78
5.5.10.0010.02416.67
5.5.00.0070.02216.73
5.4.450.0030.02414.33
5.4.440.0030.02214.35
5.4.430.0040.02514.38
5.4.420.0020.02814.13
5.4.410.0040.01914.30
5.4.400.0060.03114.05
5.4.390.0040.01914.07
5.4.380.0050.01814.29
5.4.370.0060.01814.22
5.4.360.0070.02014.11
5.4.350.0040.01714.04
5.4.340.0030.02214.00
5.4.330.0040.00411.63
5.4.320.0080.01414.16
5.4.310.0020.01914.24
5.4.300.0050.02414.00
5.4.290.0070.01814.19
5.4.280.0040.02714.17
5.4.270.0050.02114.17
5.4.260.0070.02614.22
5.4.250.0080.01814.14
5.4.240.0060.02014.30
5.4.230.0080.01914.07
5.4.220.0080.01414.10
5.4.210.0060.02014.01
5.4.200.0070.01614.24
5.4.190.0050.01714.14
5.4.180.0090.01314.01
5.4.170.0030.02314.01
5.4.160.0050.02114.08
5.4.150.0060.02714.25
5.4.140.0060.02113.12
5.4.130.0060.02113.38
5.4.120.0040.02013.26
5.4.110.0050.01713.23
5.4.100.0030.02113.26
5.4.90.0070.02013.25
5.4.80.0040.01513.20
5.4.70.0020.01913.31
5.4.60.0070.01613.31
5.4.50.0020.02213.32
5.4.40.0100.02113.31
5.4.30.0030.02313.30
5.4.20.0040.01913.27
5.4.10.0070.01913.18
5.4.00.0030.02113.01
5.3.290.0050.01912.76
5.3.280.0050.02112.70
5.3.270.0040.01712.72
5.3.260.0060.02212.73
5.3.250.0030.02312.75
5.3.240.0060.01812.58
5.3.230.0050.01612.66
5.3.220.0090.01512.58
5.3.210.0050.02012.55
5.3.200.0040.02212.61
5.3.190.0070.01412.62
5.3.180.0050.01912.76
5.3.170.0060.01612.78
5.3.160.0050.02112.82
5.3.150.0030.02112.63
5.3.140.0070.02612.69
5.3.130.0050.01912.76
5.3.120.0050.02512.73
5.3.110.0060.01812.74
5.3.100.0040.02112.54
5.3.90.0060.02812.48
5.3.80.0090.01912.47
5.3.70.0040.02012.27
5.3.60.0030.01712.46
5.3.50.0040.01712.38
5.3.40.0030.02012.35
5.3.30.0040.01712.49
5.3.20.0030.02212.27
5.3.10.0030.02612.15
5.3.00.0050.02512.08
5.2.170.0200.02311.10
5.2.160.0100.05010.93
5.2.150.0030.03311.06
5.2.140.0070.03011.18
5.2.130.0070.03011.12
5.2.120.0000.06010.96
5.2.110.0100.04711.14
5.2.100.0100.05711.05
5.2.90.0000.07310.96
5.2.80.0000.05711.02
5.2.70.0100.06010.93
5.2.60.0030.05711.05
5.2.50.0030.04711.07
5.2.40.0000.04711.04
5.2.30.0030.06710.97
5.2.20.0070.06011.00
5.2.10.0030.06310.88
5.2.00.0070.05710.71
5.1.60.0030.04010.47
5.1.50.0070.05010.47
5.1.40.0030.05310.47
5.1.30.0100.05010.47
5.1.20.0100.04310.47
5.1.10.0070.05310.47
5.1.00.0030.04010.47
5.0.50.0030.04010.47
5.0.40.0000.04010.47
5.0.30.0030.06310.47
5.0.20.0030.03010.47
5.0.10.0030.02710.47
5.0.00.0030.05310.47
4.4.90.0000.02710.47
4.4.80.0000.02710.47
4.4.70.0100.01310.47
4.4.60.0000.03710.47
4.4.50.0000.02710.47
4.4.40.0030.05010.47
4.4.30.0000.03710.47
4.4.20.0000.02710.47
4.4.10.0030.03310.47
4.4.00.0070.02710.47
4.3.110.0030.02010.47
4.3.100.0000.02310.47
4.3.90.0070.02310.47
4.3.80.0000.04710.47
4.3.70.0070.02310.47
4.3.60.0000.02710.47
4.3.50.0000.03010.47
4.3.40.0030.03710.47
4.3.30.0000.02710.47
4.3.20.0070.02310.47
4.3.10.0030.02710.47
4.3.00.0000.03310.47

preferences:
38.7 ms | 401 KiB | 5 Q