3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'Controller/Action/Param1/Param2/Param3'; $segments = explode('/', $str); print_r($segments);

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.20.0100.01017.50
8.4.10.0030.01319.47
8.3.150.0130.00717.17
8.3.140.0050.00517.25
8.3.130.0060.00316.44
8.3.120.0030.00618.80
8.3.110.0160.00320.94
8.3.100.0060.00318.47
8.3.90.0120.00026.77
8.3.80.0060.00316.50
8.3.70.0110.00416.61
8.3.60.0140.00316.63
8.3.50.0150.00722.04
8.3.40.0040.01118.67
8.3.30.0070.00718.54
8.3.20.0040.00421.91
8.3.10.0080.00020.58
8.3.00.0000.01019.13
8.2.270.0140.00420.91
8.2.260.0080.01216.34
8.2.250.0090.00016.43
8.2.240.0120.00618.71
8.2.230.0140.00322.58
8.2.220.0070.00024.06
8.2.210.0110.00626.77
8.2.200.0030.00616.50
8.2.190.0070.01416.63
8.2.180.0140.00725.92
8.2.170.0100.00722.96
8.2.160.0130.00720.30
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0080.00018.68
8.2.110.0060.00321.04
8.2.100.0040.00817.91
8.2.90.0000.00819.09
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0050.00817.55
8.2.50.0040.00418.10
8.2.40.0050.00322.33
8.2.30.0020.00520.34
8.2.20.0000.00818.05
8.2.10.0000.00718.15
8.2.00.0080.00018.10
8.1.310.0070.01118.38
8.1.300.0150.00417.50
8.1.290.0090.00030.84
8.1.280.0070.00725.92
8.1.270.0050.00323.83
8.1.260.0000.00926.35
8.1.250.0000.00728.09
8.1.240.0040.00422.14
8.1.230.0070.00417.77
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0000.01017.13
8.1.190.0040.00417.13
8.1.180.0000.00818.10
8.1.170.0000.01018.59
8.1.160.0040.00418.83
8.1.150.0070.00020.30
8.1.140.0000.00719.43
8.1.130.0070.00017.25
8.1.120.0030.00317.43
8.1.110.0040.00417.38
8.1.100.0070.00017.40
8.1.90.0000.00817.29
8.1.80.0000.00817.38
8.1.70.0000.00717.39
8.1.60.0040.00417.57
8.1.50.0000.00817.48
8.1.40.0080.00017.50
8.1.30.0040.00417.63
8.1.20.0030.00617.49
8.1.10.0030.00517.42
8.1.00.0080.00017.37
8.0.300.0040.00418.77
8.0.290.0000.00916.63
8.0.280.0000.00718.29
8.0.270.0070.00017.18
8.0.260.0030.00316.62
8.0.250.0030.00516.82
8.0.240.0000.00716.93
8.0.230.0030.00316.87
8.0.220.0050.00216.71
8.0.210.0000.00716.82
8.0.200.0030.00316.95
8.0.190.0050.00316.82
8.0.180.0000.00716.83
8.0.170.0040.00316.86
8.0.160.0030.00516.89
8.0.150.0000.00716.73
8.0.140.0030.00316.68
8.0.130.0000.00613.29
8.0.120.0080.00016.79
8.0.110.0000.00816.87
8.0.100.0080.00016.66
8.0.90.0070.00016.71
8.0.80.0090.01216.75
8.0.70.0070.00016.65
8.0.60.0040.00416.63
8.0.50.0030.00616.83
8.0.30.0130.00617.13
8.0.20.0120.00817.40
8.0.10.0050.00316.94
8.0.00.0030.01816.51
7.4.330.0050.00015.55
7.4.320.0000.01016.43
7.4.300.0030.00316.54
7.4.290.0000.00716.54
7.4.280.0050.00316.54
7.4.270.0030.00316.40
7.4.260.0070.00316.47
7.4.250.0030.00416.41
7.4.240.0000.00716.45
7.4.230.0000.00716.42
7.4.220.0160.00816.47
7.4.210.0090.00616.54
7.4.200.0000.00716.43
7.4.160.0090.00516.40
7.4.150.0080.00817.40
7.4.140.0110.00717.86
7.4.130.0060.01116.41
7.4.120.0110.00716.41
7.4.110.0100.00616.40
7.4.100.0080.00816.48
7.4.90.0070.01116.25
7.4.80.0110.00619.39
7.4.70.0070.01016.37
7.4.60.0090.00616.30
7.4.50.0000.01516.05
7.4.40.0090.00816.47
7.4.30.0070.01016.50
7.4.10.0040.01215.04
7.4.00.0030.01314.91
7.3.330.0000.00512.97
7.3.320.0030.00312.86
7.3.310.0000.00716.19
7.3.300.0000.00716.03
7.3.290.0000.00716.13
7.3.280.0090.01016.13
7.3.270.0060.01017.40
7.3.260.0100.01116.22
7.3.250.0090.00916.15
7.3.240.0090.00716.29
7.3.230.0030.01516.32
7.3.210.0130.00316.55
7.3.200.0090.00916.58
7.3.190.0090.00916.37
7.3.180.0090.00616.10
7.3.170.0100.00716.41
7.3.160.0110.00616.23
7.3.130.0120.00614.96
7.3.120.0090.00614.48
7.3.110.0040.01214.69
7.3.100.0030.00914.74
7.3.90.0090.00314.91
7.3.80.0070.00714.70
7.3.70.0060.00914.72
7.3.60.0070.00714.74
7.3.50.0070.00714.77
7.3.40.0040.01114.51
7.3.30.0040.01114.55
7.3.20.0000.01016.52
7.3.10.0090.00616.49
7.3.00.0080.00716.44
7.2.330.0050.01416.52
7.2.320.0090.00616.61
7.2.310.0100.00716.45
7.2.300.0150.00716.53
7.2.290.0060.01016.63
7.2.260.0030.01414.65
7.2.250.0060.01314.81
7.2.240.0030.01415.11
7.2.230.0100.01015.04
7.2.220.0100.00714.89
7.2.210.0000.01114.80
7.2.200.0030.01615.03
7.2.190.0000.01114.77
7.2.180.0040.00814.82
7.2.170.0040.01114.71
7.2.160.0030.00914.82
7.2.150.0060.00916.67
7.2.140.0030.00716.82
7.2.130.0030.01016.62
7.2.120.0070.00816.51
7.2.110.0080.00216.75
7.2.100.0080.00516.64
7.2.90.0100.00516.73
7.2.80.0070.00716.77
7.2.70.0090.00816.75
7.2.60.0050.00916.79
7.2.50.0090.00616.78
7.2.40.0020.01016.86
7.2.30.0050.00816.58
7.2.20.0050.01016.81
7.2.10.0000.01416.89
7.2.00.0070.00516.63
7.1.330.0040.00715.72
7.1.320.0060.00615.64
7.1.310.0040.00715.69
7.1.300.0060.00615.64
7.1.290.0040.00415.91
7.1.280.0070.00715.79
7.1.270.0030.01015.85
7.1.260.0070.00315.47
7.1.250.0030.00915.51
7.1.240.0040.00715.76
7.1.230.0060.00915.50
7.1.220.0060.00715.41
7.1.210.0030.00915.49
7.1.200.0050.00715.63
7.1.190.0100.00515.66
7.1.180.0090.00515.53
7.1.170.0080.00815.68
7.1.160.0050.00515.77
7.1.150.0060.00815.86
7.1.140.0090.00315.62
7.1.130.0090.00515.78
7.1.120.0060.00615.69
7.1.110.0030.00815.63
7.1.100.0010.01115.63
7.1.90.0080.00515.62
7.1.80.0040.00615.67
7.1.70.0030.00816.07
7.1.60.0040.00716.07
7.1.50.0010.01015.53
7.1.40.0050.01115.60
7.1.30.0060.00815.56
7.1.20.0290.02723.22
7.1.10.0310.02317.29
7.1.00.0350.02817.30
7.0.330.0070.00515.34
7.0.320.0050.00615.24
7.0.310.0060.00615.14
7.0.300.0080.00715.26
7.0.290.0020.01215.38
7.0.280.0030.01015.08
7.0.270.0030.01015.19
7.0.260.0040.00615.36
7.0.250.0050.00815.18
7.0.240.0020.01015.43
7.0.230.0030.00915.39
7.0.220.0080.00715.33
7.0.210.0090.00315.46
7.0.200.0040.00815.77
7.0.190.0070.00515.35
7.0.180.0050.00515.25
7.0.170.0040.00615.32
7.0.160.0280.02516.99
7.0.150.0270.02316.94
7.0.140.0270.02216.89
7.0.130.0280.02216.98
7.0.120.0260.02517.04
7.0.110.0260.02616.93
7.0.100.0300.02416.99
7.0.90.0240.02416.71
7.0.80.0230.02316.87
7.0.70.0220.02716.91
7.0.60.0530.02516.79
7.0.50.0230.02416.80
7.0.40.0240.02415.67
7.0.30.0270.02215.43
7.0.20.0200.02615.63
7.0.10.0180.02415.71
7.0.00.0240.02315.58
5.6.400.0060.00614.51
5.6.390.0050.00514.30
5.6.380.0030.01014.07
5.6.370.0090.00614.52
5.6.360.0070.01114.15
5.6.350.0100.00314.18
5.6.340.0100.00014.26
5.6.330.0030.00914.30
5.6.320.0000.01213.77
5.6.310.0060.00914.30
5.6.300.0080.00414.11
5.6.290.0000.00914.17
5.6.280.0100.00713.98
5.6.270.0080.00814.13
5.6.260.0040.01114.21
5.6.250.0030.00914.28
5.6.240.0040.00814.21
5.6.230.0070.00314.19
5.6.220.0100.00314.43
5.6.210.0070.01014.19
5.6.200.0100.00613.93
5.6.190.0090.00314.38
5.6.180.0070.00714.10
5.6.170.0040.01114.02
5.6.160.0100.00714.12
5.6.150.0110.00314.32
5.6.140.0030.01314.22
5.6.130.0030.00914.50
5.6.120.0000.01314.12
5.6.110.0030.01014.17
5.6.100.0030.00714.12
5.6.90.0060.00614.25
5.6.80.0070.00713.96
5.6.70.0100.00313.98
5.6.60.0040.01114.20
5.6.50.0060.00913.92
5.6.40.0140.00414.08
5.6.30.0070.01014.16
5.6.20.0080.00314.31
5.6.10.0100.00314.33
5.6.00.0030.01014.08

preferences:
29.5 ms | 403 KiB | 5 Q