3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Get the Audiomack URL if (!function_exists('samk_audio_audiomack')) { function samk_audio_audiomack($url, $width = '100%', $height = 250) { if($url!='') { $buff = ''; $buff .= "\n<!-- audiomack | {$plugin_data['name']} | {$plugin_data['url']} -->\n"; $embed_src = $url; $embed_ver_prefix = 'embed4'; // Check if the embedded source is song or album if(stripos($embed_src, '/song/') !== false) { //it is a song $embed_src = str_replace('/song/', "/$embed_ver_prefix-large/", $embed_src); }else{ //it is an album $height = 352; $embed_src = str_replace('/album/', "/$embed_ver_prefix-album/", $embed_src); } $height_str = "height='$height'"; $embed_code = "<iframe src='$embed_src' scrolling='no' width='$width' $height_str scrollbars='no' frameborder='0'></iframe>\n"; $buff .= "<div class='audiomack_player_container'>\n"; $buff .= $embed_code; $buff .= "</div> <!-- /audiomack_player_container -->\n"; $buff .= "\n<!-- /audiomack | {$plugin_data['name']} | {$plugin_data['url']} -->\n"; return $buff; } } } ?> <?php $audiomack_audio = 'www.example.com'; if($audiomack_audio!='') { $audiomack_audio_code = samk_audio_audiomack($audiomack_audio,'100%',250); ?> <div class="audio-container sermon-tabs" id="audiomack_audio"> <?php echo $audiomack_audio_code; ?> </div> <?php } ?>

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.4.130.0090.01217.85
8.4.120.0120.00720.52
8.4.110.0130.00922.53
8.4.100.0100.00717.75
8.4.90.0130.00818.48
8.4.80.0120.00818.14
8.4.70.0080.01218.17
8.4.60.0120.01019.06
8.4.50.0120.00720.52
8.4.40.0030.01617.77
8.4.30.0030.01717.93
8.4.20.0100.01017.67
8.4.10.0100.01017.74
8.3.260.0100.01016.67
8.3.250.0140.00519.03
8.3.240.0060.00216.69
8.3.230.0100.00916.75
8.3.220.0090.00917.44
8.3.210.0050.00318.64
8.3.200.0040.00516.79
8.3.190.0070.00517.35
8.3.180.0090.01018.55
8.3.170.0030.01617.23
8.3.160.0050.00516.94
8.3.150.0070.01120.62
8.3.140.0080.00017.27
8.3.130.0080.00317.00
8.3.120.0080.00020.53
8.3.110.0030.00620.94
8.3.100.0110.00424.06
8.3.90.0110.00426.77
8.3.80.0080.00019.36
8.3.70.0130.00616.86
8.3.60.0070.01116.88
8.3.50.0120.00922.02
8.3.40.0040.01118.79
8.3.30.0150.00418.93
8.3.20.0040.00420.30
8.3.10.0040.00423.64
8.3.00.0100.00019.80
8.2.290.0100.01020.61
8.2.280.0080.01018.88
8.2.270.0060.01217.14
8.2.260.0110.00716.78
8.2.250.0060.00316.88
8.2.240.0090.00317.47
8.2.230.0100.01022.58
8.2.220.0040.00737.54
8.2.210.0140.00026.77
8.2.200.0090.00018.88
8.2.190.0110.01118.61
8.2.180.0040.01118.55
8.2.170.0110.00422.96
8.2.160.0070.00720.39
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00019.32
8.2.120.0080.00026.35
8.2.110.0040.00421.12
8.2.100.0040.00818.03
8.2.90.0030.00619.72
8.2.80.0040.00418.22
8.2.70.0080.00017.63
8.2.60.0000.00917.75
8.2.50.0040.00417.75
8.2.40.0070.00322.28
8.2.30.0000.00720.73
8.2.20.0040.00417.91
8.2.10.0000.00718.24
8.2.00.0050.00218.18
8.1.330.0050.00422.31
8.1.320.0120.00816.09
8.1.310.0100.00720.00
8.1.300.0060.00916.51
8.1.290.0100.00030.84
8.1.280.0040.01125.92
8.1.270.0090.00021.95
8.1.260.0090.00028.09
8.1.250.0050.00228.09
8.1.240.0070.00422.08
8.1.230.0060.00620.73
8.1.220.0040.00417.79
8.1.210.0050.00318.77
8.1.200.0060.00317.48
8.1.190.0000.00817.35
8.1.180.0040.00418.10
8.1.170.0080.00018.69
8.1.160.0000.00720.86
8.1.150.0080.00018.95
8.1.140.0000.00819.69
8.1.130.0030.00317.83
8.1.120.0040.00417.50
8.1.110.0040.00417.41
8.1.100.0000.00817.39
8.1.90.0070.00017.52
8.1.80.0040.00417.55
8.1.70.0070.00017.49
8.1.60.0040.00417.66
8.1.50.0090.00017.50
8.1.40.0030.00617.57
8.1.30.0000.00817.56
8.1.20.0040.00417.64
8.1.10.0000.00817.62
8.1.00.0040.00417.53
8.0.300.0050.00220.15
8.0.290.0000.00716.88
8.0.280.0000.00718.59
8.0.270.0000.00717.32
8.0.260.0040.00418.43
8.0.250.0000.00717.03
8.0.240.0040.00417.07
8.0.230.0030.00317.04
8.0.220.0000.00716.98
8.0.210.0030.00316.87
8.0.200.0000.00717.10
8.0.190.0000.00717.04
8.0.180.0000.00716.95
8.0.170.0030.00617.07
8.0.160.0070.00416.96
8.0.150.0040.00417.01
8.0.140.0030.00516.88
8.0.130.0000.00613.48
8.0.120.0030.00616.93
8.0.110.0040.00416.94
8.0.100.0050.00217.12
8.0.90.0000.00716.95
8.0.80.0090.01316.96
8.0.70.0040.00416.79
8.0.60.0060.00316.80
8.0.50.0040.00417.08
8.0.30.0120.00917.43
8.0.20.0110.00917.40
8.0.10.0000.00717.09
8.0.00.0130.00716.84
7.4.330.0030.00316.73
7.4.320.0000.00716.67
7.4.300.0000.00616.68
7.4.290.0000.00716.54
7.4.280.0000.00816.68
7.4.270.0070.00016.55
7.4.260.0000.00716.45
7.4.250.0050.00316.51
7.4.240.0020.00516.55
7.4.230.0000.00816.46
7.4.220.0090.01516.72
7.4.210.0060.01216.52
7.4.200.0070.00016.67
7.4.160.0120.01216.45
7.4.150.0090.00917.40
7.4.140.0110.00817.86
7.4.130.0090.00916.63
7.4.120.0090.01016.57
7.4.110.0180.00016.59
7.4.100.0120.00916.49
7.4.90.0130.00616.68
7.4.80.0140.00319.39
7.4.70.0030.01316.65
7.4.60.0100.00716.64
7.4.50.0030.01216.52
7.4.40.0060.01016.68
7.4.30.0160.00616.63
7.4.00.0110.00715.05
7.3.330.0000.00613.28
7.3.320.0050.00013.45
7.3.310.0000.00716.39
7.3.300.0030.00316.31
7.3.290.0040.01016.44
7.3.280.0120.00516.42
7.3.270.0090.00917.40
7.3.260.0110.01216.44
7.3.250.0090.00916.56
7.3.240.0070.01116.53
7.3.230.0100.00716.39
7.3.210.0030.01316.43
7.3.200.0060.01516.32
7.3.190.0060.01016.41
7.3.180.0100.01016.52
7.3.170.0130.00416.56
7.3.160.0050.01016.63
7.3.10.0100.00716.47
7.3.00.0130.00816.58
7.2.330.0090.00916.54
7.2.320.0090.00916.66
7.2.310.0080.00816.46
7.2.300.0090.01216.78
7.2.290.0070.01016.53
7.2.130.0180.00616.79
7.2.120.0090.01116.79
7.2.110.0140.00116.65
7.2.100.0100.00716.90
7.2.90.0100.00316.57
7.2.80.0050.00716.82
7.2.70.0090.00916.65
7.2.60.0050.00916.71
7.2.50.0060.01016.85
7.2.40.0130.00316.65
7.2.30.0060.01017.01
7.2.20.0110.01116.85
7.2.10.0110.00816.68
7.2.00.0080.00917.79
7.1.250.0090.00815.50
7.1.100.0030.00918.16
7.1.70.0030.00516.98
7.1.60.0070.01719.52
7.1.50.0130.00616.95
7.1.00.0000.07722.46
7.0.200.0080.00316.86
7.0.60.0100.08319.99
7.0.50.0070.08317.88
7.0.40.0030.05720.27
7.0.30.0230.04320.13
7.0.20.0130.04720.16
7.0.10.0100.08320.21
7.0.00.0130.08020.44
5.6.280.0000.03321.12
5.6.210.0130.04720.52
5.6.200.0130.08018.13
5.6.190.0170.07020.64
5.6.180.0230.03720.77
5.6.170.0470.06320.56
5.6.160.0030.04320.61
5.6.150.0100.08018.29
5.6.140.0070.08018.29
5.6.130.0200.07318.15
5.6.120.0070.06021.00
5.6.110.0070.09021.01
5.6.100.0100.07021.00
5.6.90.0100.03720.99
5.6.80.0030.04020.48
5.5.350.0230.08320.43
5.5.340.0070.04317.94
5.5.330.0030.09020.22
5.5.320.0570.04020.35
5.5.310.0170.07720.50
5.5.300.0000.05317.98
5.5.290.0030.07717.98
5.5.280.0030.07320.78
5.5.270.0070.04320.69
5.5.260.0070.08320.80
5.5.250.0130.07320.67
5.5.240.0270.04320.03

preferences:
82.14 ms | 403 KiB | 5 Q