3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Attempt to reproduce "element" issue $elements = array( "eng%C3%A5%C2%BF%C2", "Products" );// url, exploded by "/" $saList = array( "eng", "fre" ); $URIMatchElement = 1;// URIMatchElement setting $elements = array_slice( $elements, 0, $URIMatchElement ); $name = implode( '_', $elements ); $name = preg_replace( array( '/[^a-zA-Z0-9]+/', '/_+/', '/^_/', '/_$/' ), array( '_', '_', '', '' ), $name ); echo $name; echo in_array( $name, $saList ) ? 1 : 0;// if issue is true, then this should be true

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.00618.43
8.3.50.0110.00621.27
8.3.40.0090.00618.89
8.3.30.0030.01219.10
8.3.20.0000.00720.39
8.3.10.0050.00322.15
8.3.00.0020.00522.50
8.2.180.0100.00718.41
8.2.170.0090.00922.96
8.2.160.0090.00620.34
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0070.01026.16
8.2.120.0070.00319.79
8.2.110.0040.00420.43
8.2.100.0070.00317.97
8.2.90.0000.00818.92
8.2.80.0050.00317.97
8.2.70.0060.00317.63
8.2.60.0030.00518.04
8.2.50.0090.00018.10
8.2.40.0000.00720.36
8.2.30.0000.00818.07
8.2.20.0080.00017.84
8.2.10.0040.00417.93
8.2.00.0040.00417.94
8.1.280.0070.01125.92
8.1.270.0000.00820.44
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0070.00322.72
8.1.230.0060.00617.70
8.1.220.0060.00317.74
8.1.210.0060.00318.77
8.1.200.0060.00317.35
8.1.190.0050.00317.13
8.1.180.0050.00318.10
8.1.170.0030.00518.71
8.1.160.0000.00722.21
8.1.150.0040.00418.70
8.1.140.0000.00717.65
8.1.130.0030.00317.88
8.1.120.0000.00717.55
8.1.110.0000.00817.54
8.1.100.0000.00717.45
8.1.90.0040.00417.54
8.1.80.0000.00717.53
8.1.70.0000.00717.47
8.1.60.0040.00417.55
8.1.50.0040.00417.62
8.1.40.0000.00717.58
8.1.30.0030.00617.60
8.1.20.0040.00417.68
8.1.10.0040.00417.51
8.1.00.0050.00317.61
8.0.300.0070.00318.77
8.0.290.0000.00816.88
8.0.280.0030.00318.55
8.0.270.0030.00517.22
8.0.260.0070.00017.01
8.0.250.0030.00317.00
8.0.240.0030.00517.11
8.0.230.0030.00316.91
8.0.220.0030.00316.99
8.0.210.0030.00316.91
8.0.200.0030.00317.03
8.0.190.0060.00317.05
8.0.180.0040.00416.99
8.0.170.0040.00417.06
8.0.160.0000.00716.88
8.0.150.0030.00516.86
8.0.140.0040.00416.82
8.0.130.0030.00313.29
8.0.120.0000.00816.88
8.0.110.0030.00617.00
8.0.100.0040.00416.82
8.0.90.0040.00416.98
8.0.80.0120.00916.83
8.0.70.0000.00716.86
8.0.60.0050.00216.90
8.0.50.0070.00016.77
8.0.30.0080.01117.02
8.0.20.0050.01417.40
8.0.10.0000.00817.06
8.0.00.0130.00516.96
7.4.330.0050.00015.00
7.4.320.0030.00316.54
7.4.300.0060.00016.78
7.4.290.0090.00016.74
7.4.280.0000.00716.73
7.4.270.0030.00316.70
7.4.260.0040.00716.70
7.4.250.0070.00016.53
7.4.240.0020.00616.59
7.4.230.0000.00716.68
7.4.220.0000.01716.58
7.4.210.0080.00816.67
7.4.200.0030.00316.55
7.4.190.0000.00816.86
7.4.160.0080.00816.76
7.4.150.0120.00617.40
7.4.140.0090.01017.86
7.4.130.0070.01316.59
7.4.120.0070.01016.62
7.4.110.0130.00616.38
7.4.100.0140.01016.56
7.4.90.0130.00316.55
7.4.80.0070.01119.39
7.4.70.0120.00916.56
7.4.60.0090.00916.63
7.4.50.0000.00416.55
7.4.40.0090.00922.77
7.4.30.0120.00916.50
7.4.00.0090.00615.21
7.3.330.0050.00013.32
7.3.320.0030.00313.27
7.3.310.0040.00416.18
7.3.300.0030.00316.20
7.3.290.0060.00916.30
7.3.280.0090.00716.36
7.3.270.0140.00317.40
7.3.260.0140.00616.49
7.3.250.0120.00516.59
7.3.240.0060.01016.32
7.3.230.0090.00616.66
7.3.210.0100.00716.59
7.3.200.0130.00316.52
7.3.190.0080.00816.47
7.3.180.0080.00816.43
7.3.170.0100.00716.64
7.3.160.0100.00716.29
7.3.120.0000.00814.82
7.2.330.0090.00916.77
7.2.320.0180.00616.84
7.2.310.0130.01016.68
7.2.300.0060.00916.50
7.2.290.0060.01016.69
7.2.00.0040.01119.42
7.1.200.0070.00415.95
7.1.100.0040.00818.30
7.1.70.0000.00817.20
7.1.60.0100.01019.82
7.1.50.0060.01216.84
7.1.00.0000.03722.26
7.0.200.0100.00016.84
7.0.140.0070.06722.00
7.0.60.0070.03719.89
7.0.50.0030.08317.90
7.0.40.0070.05720.06
7.0.30.0230.04020.14
7.0.20.0300.07020.19
7.0.10.0500.06320.05
7.0.00.0070.08020.19
5.6.280.0030.07321.12
5.6.210.0030.07020.70
5.6.200.0070.04018.09
5.6.190.0030.04720.41
5.6.180.3370.05020.39
5.6.170.0270.07720.45
5.6.160.0130.07320.38
5.6.150.0030.04018.17
5.6.140.0070.07718.21
5.6.130.0030.04318.14
5.6.120.0000.04720.96
5.6.110.0030.05721.11
5.6.100.0030.08320.97
5.6.90.0070.08320.95
5.6.80.0070.07720.40
5.6.70.0300.05020.27
5.5.350.0230.03720.41
5.5.340.0030.04017.93
5.5.330.0070.08320.25
5.5.320.0170.06720.24
5.5.310.0300.07320.32
5.5.300.0100.04317.98
5.5.290.0070.08317.98
5.5.280.0070.04020.80
5.5.270.0130.07720.86
5.5.260.0100.08020.75
5.5.250.0030.08720.46
5.5.240.0230.06320.18
5.4.450.0730.05019.64
5.4.440.0900.05319.45
5.4.430.0700.05019.63
5.4.420.0630.05019.46
5.4.410.0230.07019.48
5.4.400.1130.05318.51
5.4.390.1030.06718.66
5.4.380.0230.06718.52
5.4.370.0170.04718.72
5.4.360.0170.05318.70
5.4.350.0070.03611.97
5.4.340.0050.04211.97
5.4.320.0030.03912.46
5.4.310.0070.03612.45
5.4.300.0050.03712.46
5.4.290.0090.04212.45
5.4.280.0080.03612.35
5.4.270.0050.03812.35
5.4.260.0060.04012.35
5.4.250.0100.05318.86
5.4.240.0100.05018.78
5.4.230.0100.04718.77
5.4.220.0070.05318.95
5.4.210.0100.04718.94
5.4.200.0100.04718.79
5.4.190.0100.05018.73
5.4.180.0200.05018.68
5.4.170.0200.05018.79
5.4.160.0200.05718.68
5.4.150.0070.06718.90
5.4.140.0100.05016.32
5.4.130.0030.05316.46
5.4.120.0030.05016.32
5.4.110.0130.04716.35
5.4.100.0070.04716.52
5.4.90.0030.05016.34
5.4.80.0000.05316.25
5.4.70.0030.05316.36
5.4.60.0070.04716.15
5.4.50.0100.04316.30
5.4.40.0030.05316.43
5.4.30.0070.05016.26
5.4.20.0030.05316.30
5.4.10.0030.05016.34
5.4.00.0100.04715.79
5.3.290.0080.03612.80
5.3.280.0030.06014.48
5.3.270.0100.05014.61
5.3.260.0170.04714.60
5.3.250.0130.04314.63
5.3.240.0130.04314.61
5.3.230.0030.05314.37
5.3.220.0130.04714.34
5.3.210.0030.05714.26
5.3.200.0030.05014.45
5.3.190.0030.05314.26
5.3.180.0100.04714.61
5.3.170.0000.05314.61
5.3.160.0030.05014.58
5.3.150.0070.05014.65
5.3.140.0130.04314.58
5.3.130.0000.05714.54
5.3.120.0100.05014.32
5.3.110.0000.05714.56
5.3.100.0100.04713.90
5.3.90.0000.05713.93
5.3.80.0070.04714.11
5.3.70.0030.05714.01
5.3.60.0070.04714.00
5.3.50.0100.04314.04
5.3.40.0100.05013.86
5.3.30.0030.05014.05
5.3.20.0100.04313.57
5.3.10.0030.05013.59
5.3.00.0100.04713.51
5.2.170.0030.04311.15
5.2.160.0070.04011.25
5.2.150.0100.04011.06
5.2.140.0030.06311.26
5.2.130.0070.04011.11
5.2.120.0070.04011.02
5.2.110.0100.03311.09
5.2.100.0100.03711.09
5.2.90.0030.04011.20
5.2.80.0070.04311.07
5.2.70.0030.04011.18
5.2.60.0100.06011.16
5.2.50.0070.03711.13
5.2.40.0000.05011.02
5.2.30.0030.04310.99
5.2.20.0030.04010.85
5.2.10.0030.03710.84
5.2.00.0070.03710.79
5.1.60.0100.0279.98
5.1.50.0070.04710.04
5.1.40.0030.03310.01
5.1.30.0030.03310.40
5.1.20.0030.03710.35
5.1.10.0070.0339.89
5.1.00.0130.02710.29
5.0.50.0000.0308.63
5.0.40.0100.0208.44
5.0.30.0100.0538.18
5.0.20.0000.0278.15
5.0.10.0070.0238.08
5.0.00.0000.0438.11
4.4.90.0000.0235.87
4.4.80.0000.0305.83
4.4.70.0030.0205.74
4.4.60.0100.0135.82
4.4.50.0170.0075.74
4.4.40.0100.0275.78
4.4.30.0070.0275.85
4.4.20.0070.0175.84
4.4.10.0070.0175.91
4.4.00.0000.0335.92
4.3.110.0070.0175.74
4.3.100.0030.0205.74
4.3.90.0070.0135.74
4.3.80.0030.0335.74
4.3.70.0000.0205.74
4.3.60.0000.0205.74
4.3.50.0000.0235.74
4.3.40.0000.0335.78
4.3.30.0030.0275.69
4.3.20.0000.0235.68
4.3.10.0070.0175.66
4.3.00.0330.0236.29

preferences:
53.89 ms | 400 KiB | 5 Q