3v4l.org

run code in 300+ PHP versions simultaneously
<?php $buffer = " %target:admin_media.php% %location:% \$showmedia_url = getURL( 'showmedia', 1 ); %end:% %insert:after% // ****** following line added by Showfolio mod ****** \$showfolio_url = getURL( 'showfolio', 1 ); %end:% "; // STANDARDIZE LINE ENDINGS $buffer = preg_replace( "#(?:\r\n|\r\r\n|[\r\n])#", "\r\n", $buffer ); // CREATE WORKING TABLE $parts = preg_split( "#^\s*%(\w+):#m", $buffer, NULL, PREG_SPLIT_OFFSET_CAPTURE|PREG_SPLIT_DELIM_CAPTURE ); print_r( $parts ); ?>

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.120.0110.00720.51
8.4.110.0110.00922.61
8.4.100.0110.01018.01
8.4.90.0090.01218.62
8.4.80.0080.00418.18
8.4.70.0150.00518.46
8.4.60.0110.01018.81
8.4.50.0100.01119.94
8.4.40.0070.01418.20
8.4.30.0040.01518.15
8.4.20.0170.00019.95
8.4.10.0100.00618.15
8.3.250.0050.00318.96
8.3.240.0040.00516.98
8.3.230.0090.00916.76
8.3.220.0090.00817.22
8.3.210.0060.00818.54
8.3.200.0060.00316.78
8.3.190.0170.00318.77
8.3.180.0110.00718.59
8.3.170.0030.00716.82
8.3.160.0030.00716.80
8.3.150.0000.01819.03
8.3.140.0110.00716.98
8.3.130.0060.00318.61
8.3.120.0100.00020.60
8.3.110.0100.01016.80
8.3.100.0060.00616.97
8.3.90.0080.00026.77
8.3.80.0110.00016.86
8.3.70.0090.00918.68
8.3.60.0110.00418.68
8.3.50.0100.00718.33
8.3.40.0040.01119.00
8.3.30.0110.00318.79
8.3.20.0080.00021.77
8.3.10.0040.00423.51
8.3.00.0050.00221.90
8.2.290.0130.00520.50
8.2.280.0090.00117.21
8.2.270.0150.00317.17
8.2.260.0150.00317.05
8.2.250.0100.01018.95
8.2.240.0030.00617.35
8.2.230.0030.00720.94
8.2.220.0060.00324.06
8.2.210.0040.00426.77
8.2.200.0030.00717.00
8.2.190.0210.00016.75
8.2.180.0120.00925.92
8.2.170.0070.00718.94
8.2.160.0130.00022.96
8.2.150.0070.00025.66
8.2.140.0140.00724.66
8.2.130.0090.00021.19
8.2.120.0080.00026.35
8.2.110.0060.00319.18
8.2.100.0070.00717.97
8.2.90.0040.00418.00
8.2.80.0040.00419.10
8.2.70.0030.00517.88
8.2.60.0040.00417.75
8.2.50.0000.00917.75
8.2.40.0000.00918.16
8.2.30.0050.00518.02
8.2.20.0040.00418.21
8.2.10.0070.00018.26
8.2.00.0000.00818.20
8.1.330.0100.00921.98
8.1.320.0120.00716.13
8.1.310.0090.00020.16
8.1.300.0060.00318.12
8.1.290.0070.00430.84
8.1.280.0180.00325.92
8.1.270.0000.00722.05
8.1.260.0050.00326.35
8.1.250.0030.00628.09
8.1.240.0030.00719.26
8.1.230.0090.00321.03
8.1.220.0050.00318.67
8.1.210.0080.00018.77
8.1.200.0060.00317.48
8.1.190.0000.00817.48
8.1.180.0050.00318.10
8.1.170.0060.00318.64
8.1.160.0040.00418.93
8.1.150.0050.00319.11
8.1.140.0050.00317.74
8.1.130.0030.00319.12
8.1.120.0050.00317.59
8.1.110.0050.00317.58
8.1.100.0040.00417.53
8.1.90.0040.00417.46
8.1.80.0050.00317.57
8.1.70.0030.00317.44
8.1.60.0060.00317.72
8.1.50.0030.00517.52
8.1.40.0040.00417.56
8.1.30.0030.00517.78
8.1.20.0000.00817.65
8.1.10.0100.00017.51
8.1.00.0000.00817.56
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0080.00018.35
8.0.270.0000.00816.91
8.0.260.0030.00619.01
8.0.250.0030.00316.97
8.0.240.0000.00716.97
8.0.230.0030.00317.09
8.0.220.0070.00017.09
8.0.210.0030.00316.99
8.0.200.0030.00616.92
8.0.190.0040.00416.98
8.0.180.0030.00316.97
8.0.170.0040.00417.07
8.0.160.0050.00317.00
8.0.150.0050.00216.95
8.0.140.0040.00416.85
8.0.130.0000.00613.38
8.0.120.0040.00416.94
8.0.110.0000.00716.89
8.0.100.0040.00417.05
8.0.90.0050.00317.05
8.0.80.0130.00317.05
8.0.70.0080.00017.14
8.0.60.0000.00816.95
8.0.50.0000.00816.89
8.0.30.0090.01117.34
8.0.20.0140.00917.40
8.0.10.0000.00817.07
8.0.00.0130.00616.83
7.4.330.0050.00015.55
7.4.320.0060.00016.86
7.4.300.0030.00316.66
7.4.290.0030.00316.85
7.4.280.0030.00616.84
7.4.270.0030.00316.89
7.4.260.0030.00316.64
7.4.250.0070.00016.75
7.4.240.0000.00716.85
7.4.230.0020.00516.63
7.4.220.0070.00016.86
7.4.210.0080.00816.70
7.4.200.0070.00016.82
7.4.160.0110.00916.65
7.4.140.0090.00917.86
7.4.130.0030.01916.64
7.4.120.0060.01116.72
7.4.110.0070.01016.70
7.4.100.0140.00716.85
7.4.90.0040.01316.55
7.4.80.0060.01419.39
7.4.70.0130.00416.65
7.4.60.0060.01016.61
7.4.50.0060.00616.49
7.4.40.0100.00916.61
7.4.10.0070.01014.83
7.4.00.0050.00914.85
7.3.330.0020.00213.02
7.3.320.0000.00613.27
7.3.310.0000.00816.22
7.3.300.0060.00016.32
7.3.290.0070.00016.29
7.3.280.0080.00716.31
7.3.260.0130.00716.51
7.3.240.0060.01316.43
7.3.230.0060.01116.27
7.3.210.0060.00916.38
7.3.200.0120.00816.23
7.3.190.0130.00316.67
7.3.180.0100.00716.57
7.3.170.0110.01116.59
7.3.160.0060.01016.32
7.3.130.0120.00314.70
7.3.120.0100.01014.96
7.3.110.0100.01014.83
7.3.100.0070.00714.88
7.3.90.0110.00714.64
7.3.80.0090.00614.96
7.3.70.0060.00914.80
7.3.60.0040.01115.01
7.3.50.0120.00314.86
7.3.40.0090.00614.92
7.3.30.0060.01014.85
7.3.20.0090.00616.72
7.3.10.0110.00716.64
7.3.00.0040.00816.64
7.2.330.0070.01716.48
7.2.320.0120.00816.70
7.2.310.0040.01416.62
7.2.300.0090.00916.58
7.2.290.0170.00716.68
7.2.260.0030.01015.19
7.2.250.0110.00715.11
7.2.240.0030.01315.10
7.2.230.0000.01814.74
7.2.220.0040.01514.77
7.2.210.0070.01014.96
7.2.200.0100.00714.91
7.2.190.0110.00415.21
7.2.180.0060.00915.12
7.2.170.0040.00815.14
7.2.160.0060.00914.92
7.2.150.0090.00917.14
7.2.140.0040.01517.07
7.2.130.0070.01016.91
7.2.120.0090.00616.72
7.2.110.0070.00316.64
7.2.100.0100.00316.94
7.2.90.0030.01117.01
7.2.80.0090.00317.11
7.2.70.0100.00017.03
7.2.60.0030.01216.74
7.2.50.0030.00816.82
7.2.40.0120.01017.40
7.2.30.0120.01217.47
7.2.20.0140.00917.53
7.2.10.0150.01017.61
7.2.00.0110.01117.60
7.1.330.0060.01015.99
7.1.320.0070.01015.71
7.1.310.0040.01216.04
7.1.300.0000.01115.60
7.1.290.0080.00315.96
7.1.280.0040.00415.90
7.1.270.0060.01215.62
7.1.260.0060.00916.02
7.1.250.0070.01015.77
7.1.240.0030.00615.89
7.1.230.0090.00315.78
7.1.220.0040.01215.62
7.1.210.0030.01015.88
7.1.200.0020.00815.86
7.1.190.0030.01515.89
7.1.180.0040.01115.83
7.1.170.0030.00915.90
7.1.160.0140.01416.50
7.1.150.0140.00916.45
7.1.140.0140.00716.28
7.1.130.0120.00916.46
7.1.120.0130.00716.27
7.1.110.0110.01316.14
7.1.100.1590.01016.32
7.1.90.0170.00816.25
7.1.80.0130.00716.11
7.1.70.0150.00515.42
7.1.60.0250.00824.64
7.1.50.0210.01024.46
7.1.40.0240.01024.23
7.1.30.0200.01024.29
7.1.20.0180.01324.40
7.1.10.0120.00715.37
7.1.00.0170.00815.48
7.0.330.0070.01115.48
7.0.320.0030.01015.39
7.0.310.0070.01015.48
7.0.300.0000.01515.44
7.0.290.0030.00915.55
7.0.280.0000.01115.13
7.0.270.0030.00615.17
7.0.260.0030.01515.23
7.0.250.0070.00715.60
7.0.240.0070.00715.38
7.0.230.0070.01015.35
7.0.220.0060.00315.67
7.0.210.0090.00615.55
7.0.200.0090.00615.69
7.0.190.0080.00415.36
7.0.180.0050.00515.41
7.0.170.0120.00015.62
7.0.160.0100.00715.60
7.0.150.0070.00715.60
7.0.140.0000.01315.54
7.0.130.0070.00715.23
7.0.120.0030.00615.54
7.0.110.0110.00315.50
7.0.100.0030.01215.56
7.0.90.0040.01415.44
7.0.80.0130.00015.62
7.0.70.0030.00915.56
7.0.60.0000.01215.34
7.0.50.0070.00315.45
7.0.40.0110.00413.19
7.0.30.0040.01113.45
7.0.20.0100.00313.63
7.0.10.0090.00013.44
7.0.00.0030.01013.60
5.6.400.0030.00914.46
5.6.390.0100.00714.47
5.6.380.0070.01014.57
5.6.370.0070.01014.31
5.6.360.0070.00714.31
5.6.350.0060.00914.23
5.6.340.0000.01114.20
5.6.330.0060.00914.15
5.6.320.0150.00014.31
5.6.310.0030.01214.51
5.6.300.0060.00614.19
5.6.290.0120.00014.28
5.6.280.0080.00414.46
5.6.270.0030.00914.57
5.6.260.0090.00614.40
5.6.250.0160.00314.16
5.6.240.0090.00914.30
5.6.230.0070.01114.38
5.6.220.0070.00414.14
5.6.210.0030.01014.41
5.6.200.0060.00614.68
5.6.190.0030.00714.60
5.6.180.0070.00714.27
5.6.170.0030.01314.27
5.6.160.0060.00914.50
5.6.150.0060.00614.19
5.6.140.0040.01114.30
5.6.130.0030.01314.20
5.6.120.0100.00714.26
5.6.110.0090.00614.21
5.6.100.0100.00714.30
5.6.90.0030.01014.21
5.6.80.0110.00314.21
5.6.70.0070.00314.52
5.6.60.0090.00614.36
5.6.50.0150.00014.54
5.6.40.0040.00814.48
5.6.30.0060.00314.42
5.6.20.0090.00614.34
5.6.10.0030.00914.02
5.6.00.0070.00714.13

preferences:
29.82 ms | 403 KiB | 5 Q