3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'Controller/Action/Param1/Param2/Param3'; $segments = preg_split('/\//', $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.0030.01617.95
8.4.10.0000.00919.39
8.3.150.0130.00620.67
8.3.140.0000.01117.06
8.3.130.0060.00318.48
8.3.120.0060.00318.83
8.3.110.0030.00620.94
8.3.100.0080.00424.06
8.3.90.0120.00326.77
8.3.80.0040.00416.75
8.3.70.0110.00416.58
8.3.60.0130.00316.75
8.3.50.0130.00822.23
8.3.40.0040.01118.88
8.3.30.0090.00618.84
8.3.20.0040.00421.91
8.3.10.0040.00820.70
8.3.00.0080.00019.02
8.2.270.0050.00318.97
8.2.260.0040.00416.58
8.2.250.0040.00416.82
8.2.240.0030.00718.96
8.2.230.0000.01822.58
8.2.220.0080.00037.54
8.2.210.0150.00026.77
8.2.200.0060.00318.66
8.2.190.0120.00916.58
8.2.180.0070.01125.92
8.2.170.0140.00022.96
8.2.160.0120.00319.20
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00419.42
8.2.110.0000.00921.91
8.2.100.0120.00019.58
8.2.90.0050.00317.63
8.2.80.0030.00518.96
8.2.70.0070.00317.63
8.2.60.0090.00317.55
8.2.50.0040.00418.07
8.2.40.0030.00619.76
8.2.30.0020.00518.02
8.2.20.0040.00417.89
8.2.10.0040.00418.13
8.2.00.0070.00018.14
8.1.310.0120.00616.89
8.1.300.0090.00616.35
8.1.290.0100.00030.84
8.1.280.0090.00625.92
8.1.270.0050.00323.99
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0040.00423.63
8.1.230.0000.01119.07
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0050.00517.35
8.1.190.0070.00317.35
8.1.180.0000.00818.10
8.1.170.0040.00418.63
8.1.160.0040.00418.83
8.1.150.0040.00420.29
8.1.140.0000.00719.59
8.1.130.0000.00718.98
8.1.120.0030.00317.59
8.1.110.0000.00717.58
8.1.100.0050.00317.43
8.1.90.0030.00417.45
8.1.80.0070.00017.46
8.1.70.0030.00317.43
8.1.60.0030.00517.56
8.1.50.0040.00417.54
8.1.40.0040.00417.63
8.1.30.0050.00317.63
8.1.20.0000.00717.57
8.1.10.0040.00417.53
8.1.00.0040.00417.57
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0070.00018.41
8.0.270.0000.00717.22
8.0.260.0060.00317.15
8.0.250.0030.00617.00
8.0.240.0030.00317.09
8.0.230.0040.00417.00
8.0.220.0000.00816.90
8.0.210.0000.00716.99
8.0.200.0000.00716.99
8.0.190.0000.00717.00
8.0.180.0000.00717.02
8.0.170.0050.00216.96
8.0.160.0000.00716.96
8.0.150.0000.00716.89
8.0.140.0000.00716.93
8.0.130.0000.00513.36
8.0.120.0000.00816.84
8.0.110.0030.00516.99
8.0.100.0000.00716.96
8.0.90.0050.00316.95
8.0.80.0140.00716.96
8.0.70.0040.00417.00
8.0.60.0050.00216.86
8.0.50.0040.00416.79
8.0.30.0110.00517.11
8.0.20.0090.01217.40
8.0.10.0060.00316.98
8.0.00.0060.01717.10
7.4.330.0050.00015.55
7.4.320.0030.00516.62
7.4.300.0000.00716.66
7.4.290.0050.00216.70
7.4.280.0040.00416.78
7.4.270.0000.00816.73
7.4.260.0070.00316.70
7.4.250.0080.00016.75
7.4.240.0030.00316.74
7.4.230.0000.00716.82
7.4.220.0180.00916.64
7.4.210.0070.00816.78
7.4.200.0000.00716.72
7.4.160.0050.01016.40
7.4.150.0000.01817.40
7.4.140.0110.01017.86
7.4.130.0100.00616.61
7.4.120.0080.01116.66
7.4.110.0070.01016.43
7.4.100.0160.00616.39
7.4.90.0150.00716.56
7.4.80.0110.00616.37
7.4.70.0120.00416.55
7.4.60.0110.00616.53
7.4.50.0040.01116.49
7.4.40.0070.01116.47
7.4.30.0080.01216.59
7.4.20.0160.00416.49
7.4.10.0060.01316.51
7.4.00.0080.00715.50
7.3.330.0000.00513.03
7.3.320.0020.00212.98
7.3.310.0040.00416.36
7.3.300.0000.00716.11
7.3.290.0000.00716.25
7.3.280.0110.01116.27
7.3.270.0070.01017.40
7.3.260.0090.01116.60
7.3.250.0080.00916.32
7.3.240.0050.01416.44
7.3.230.0190.00016.50
7.3.210.0100.00716.57
7.3.200.0120.00916.14
7.3.190.0130.00616.67
7.3.180.0090.00816.41
7.3.170.0100.00716.42
7.3.160.0090.01316.54
7.3.150.0060.01016.46
7.3.140.0130.00916.04
7.3.130.0030.01416.36
7.3.120.0050.00915.12
7.3.110.0070.01015.39
7.3.100.0070.00815.24
7.3.90.0080.00715.18
7.3.80.0030.01315.09
7.3.70.0060.00715.09
7.3.60.0050.01115.18
7.3.50.0070.00815.25
7.3.40.0070.00715.23
7.3.30.0060.00715.06
7.3.20.0080.00816.63
7.3.10.0090.00516.53
7.3.00.0090.00716.58
7.2.330.0040.01316.63
7.2.320.0100.00716.41
7.2.310.0090.00716.58
7.2.300.0100.01016.64
7.2.290.0130.00616.57
7.2.280.0180.00316.40
7.2.270.0090.00916.57
7.2.260.0090.00916.64
7.2.250.0080.01115.71
7.2.240.0080.00915.44
7.2.230.0080.00815.38
7.2.220.0080.00515.55
7.2.210.0070.01115.30
7.2.200.0070.00915.40
7.2.190.0100.00715.45
7.2.180.0080.01015.46
7.2.170.0070.00815.42
7.2.160.0060.01015.52
7.2.150.0060.01116.85
7.2.140.0090.00716.84
7.2.130.0080.00816.87
7.2.120.0050.01116.88
7.2.110.0100.00916.80
7.2.100.0080.00816.66
7.2.90.0050.01116.82
7.2.80.0060.01016.70
7.2.70.0110.00616.84
7.2.60.0080.00916.88
7.2.50.0060.00916.82
7.2.40.0060.01116.81
7.2.30.0040.01016.88
7.2.20.0090.00916.94
7.2.10.0090.00916.75
7.2.00.0070.00916.62
7.1.330.0090.01015.74
7.1.320.0060.00915.89
7.1.310.0070.01015.68
7.1.300.0100.00715.72
7.1.290.0070.00915.67
7.1.280.0090.01015.71
7.1.270.0100.00715.66
7.1.260.0100.00915.80
7.1.250.0090.01215.60
7.1.240.0200.00315.32
7.1.230.0130.01315.39
7.1.220.0190.00815.37
7.1.210.0230.00415.30
7.1.200.0070.01015.41
7.1.190.0170.01415.60
7.1.180.0180.00915.30
7.1.170.0190.00915.50
7.1.160.0150.00915.25
7.1.150.0160.00815.17
7.1.140.0190.00815.27
7.1.130.0130.01315.31
7.1.120.0180.00615.20
7.1.110.0170.00715.46
7.1.100.0120.01315.29
7.1.90.0120.01215.33
7.1.80.0180.00615.17
7.1.70.0110.00916.31
7.1.60.0140.00816.40
7.1.50.0180.00815.37
7.1.40.0140.01115.18
7.1.30.0270.00015.26
7.1.20.0430.03727.09
7.1.10.0350.03717.99
7.1.00.0370.03417.95
7.0.330.0250.01015.30
7.0.320.0260.00315.27
7.0.310.0350.00715.27
7.0.300.0250.00915.30
7.0.290.0180.00915.11
7.0.280.0180.01115.23
7.0.270.0240.00415.16
7.0.260.0380.01214.95
7.0.250.0290.00415.41
7.0.240.0220.00615.13
7.0.230.0220.00315.16
7.0.220.0150.01515.36
7.0.210.0250.00415.30
7.0.200.0180.00515.94
7.0.190.0160.01215.19
7.0.180.0230.00515.43
7.0.170.0160.01115.20
7.0.160.0360.03617.71
7.0.150.0520.03717.62
7.0.140.0410.03217.68
7.0.130.0350.03317.77
7.0.120.0320.03817.63
7.0.110.0330.03817.56
7.0.100.0420.03617.63
7.0.90.0360.03217.79
7.0.80.0420.03417.74
7.0.70.0450.03517.72
7.0.60.0480.03217.57
7.0.50.0340.03517.65
7.0.40.0360.03617.66
7.0.30.0320.03417.65
7.0.20.0390.03017.75
7.0.10.0370.03217.51
7.0.00.0410.02717.65
5.6.400.0130.02016.06
5.6.390.0250.00615.84
5.6.380.0250.00615.71
5.6.370.0240.00815.79
5.6.360.0180.01015.55
5.6.350.0220.01315.97
5.6.340.0230.01115.58
5.6.330.0270.00715.80
5.6.320.0240.00615.88
5.6.310.0210.01415.67
5.6.300.0190.00915.85
5.6.290.0190.01015.82
5.6.280.0290.01016.03
5.6.270.0190.01115.79
5.6.260.0160.01215.88
5.6.250.0180.01115.85
5.6.240.0220.00715.61
5.6.230.0200.00715.91
5.6.220.0180.01315.79
5.6.210.0160.01115.77
5.6.200.0240.01015.66
5.6.190.0220.00715.68
5.6.180.0230.01415.61
5.6.170.0170.02015.68
5.6.160.0250.00815.48
5.6.150.0260.00415.82
5.6.140.0150.01615.83
5.6.130.0200.01216.02
5.6.120.0200.00915.85
5.6.110.0270.00415.78
5.6.100.0250.00615.75
5.6.90.0200.00915.82
5.6.80.0180.01115.80
5.6.70.0240.00715.82
5.6.60.0180.01315.66
5.6.50.0110.01815.58
5.6.40.0220.00715.65
5.6.30.0250.00415.61
5.6.20.0190.01015.79
5.6.10.0190.01315.75
5.6.00.0260.00815.71
5.5.380.0230.00815.93
5.5.370.0240.00515.91
5.5.360.0250.00415.70
5.5.350.0160.01615.63
5.5.340.0180.01215.75
5.5.330.0240.00915.78
5.5.320.0280.00615.59
5.5.310.0190.01215.53
5.5.300.0190.01015.80
5.5.290.0180.01115.81
5.5.280.0130.01615.55
5.5.270.0190.01015.78
5.5.260.0220.01315.76
5.5.250.0140.01415.56
5.5.240.0190.00815.61
5.5.230.0150.01415.55
5.5.220.0180.01115.82
5.5.210.0260.00415.73
5.5.200.0170.01015.60
5.5.190.0220.00615.62
5.5.180.0230.00515.62
5.5.170.0170.01215.60
5.5.160.0260.01015.50
5.5.150.0160.01315.65
5.5.140.0280.00015.67
5.5.130.0150.01515.55
5.5.120.0190.00915.45
5.5.110.0150.01515.72
5.5.100.0190.01215.59
5.5.90.0130.01715.72
5.5.80.0180.01015.72
5.5.70.0250.01215.62
5.5.60.0230.00615.72
5.5.50.0120.01815.53
5.5.40.0210.00715.68
5.5.30.0160.01615.48
5.5.20.0150.01515.62
5.5.10.0240.00715.65
5.5.00.0190.01515.56
5.4.450.0180.00512.70
5.4.440.0210.00012.65
5.4.430.0220.00412.67
5.4.420.0160.00812.56
5.4.410.0170.00612.50
5.4.400.0110.01112.68
5.4.390.0240.00012.78
5.4.380.0210.00312.52
5.4.370.0230.00012.78
5.4.360.0150.00612.61
5.4.350.0160.00812.66
5.4.340.0120.00912.50
5.4.330.0110.01412.56
5.4.320.0130.01312.61
5.4.310.0130.01012.56
5.4.300.0210.00412.56
5.4.290.0150.00912.65
5.4.280.0160.00512.41
5.4.270.0190.00312.73
5.4.260.0190.00612.49
5.4.250.0140.00912.42
5.4.240.0170.00512.46
5.4.230.0100.01412.72
5.4.220.0110.01812.39
5.4.210.0160.00712.54
5.4.200.0150.00812.67
5.4.190.0270.00012.50
5.4.180.0180.00512.71
5.4.170.0120.01412.48
5.4.160.0170.00612.69
5.4.150.0140.00912.48
5.4.140.0090.01512.86
5.4.130.0140.00712.61
5.4.120.0130.01012.42
5.4.110.0200.00412.82
5.4.100.0200.00312.54
5.4.90.0130.01012.65
5.4.80.0130.00912.64
5.4.70.0100.01412.43
5.4.60.0160.01012.58
5.4.50.0140.00712.49
5.4.40.0060.01712.53
5.4.30.0100.01012.73
5.4.20.0120.01612.50
5.4.10.0080.01312.79
5.4.00.0120.00912.57
5.3.290.0120.01612.99
5.3.280.0120.01212.97
5.3.270.0180.01212.98
5.3.260.0190.00712.92
5.3.250.0120.01213.06
5.3.240.0140.01112.96
5.3.230.0170.00813.00
5.3.220.0180.00512.94
5.3.210.0180.00712.80
5.3.200.0110.01112.81
5.3.190.0160.00812.85
5.3.180.0200.00613.03
5.3.170.0120.01212.99
5.3.160.0130.01013.00
5.3.150.0170.00612.96
5.3.140.0190.00413.13
5.3.130.0250.00313.05
5.3.120.0140.00813.05
5.3.110.0180.00513.08
5.3.100.0110.01112.90
5.3.90.0130.00812.91
5.3.80.0090.01312.79
5.3.70.0170.00912.79
5.3.60.0220.00612.90
5.3.50.0150.00712.71
5.3.40.0120.00912.71
5.3.30.0170.00912.94
5.3.20.0150.01312.86
5.3.10.0100.01412.70
5.3.00.0150.01112.77
5.2.170.0120.00611.96
5.2.160.0090.00911.91
5.2.150.0120.00612.00
5.2.140.0170.00312.16
5.2.130.0070.01512.01
5.2.120.0150.00412.09
5.2.110.0140.00812.16
5.2.100.0170.00311.91
5.2.90.0140.00512.10
5.2.80.0090.00911.75
5.2.70.0060.01211.73
5.2.60.0130.00511.86
5.2.50.0070.01011.89
5.2.40.0090.00911.93
5.2.30.0150.00411.79
5.2.20.0050.01411.65
5.2.10.0190.00411.82
5.2.00.0140.00311.62
5.1.60.0100.01010.87
5.1.50.0130.00611.00
5.1.40.0070.01010.94
5.1.30.0090.00811.18
5.1.20.0080.01111.03
5.1.10.0100.01010.98
5.1.00.0040.01610.91
5.0.50.0100.01010.74
5.0.40.0130.00610.74
5.0.30.0110.00510.74
5.0.20.0140.00510.74
5.0.10.0130.00710.74
5.0.00.0100.01010.74
4.4.90.0090.00010.74
4.4.80.0000.00910.74
4.4.70.0060.00310.74
4.4.60.0060.00210.74
4.4.50.0000.00810.74
4.4.40.0060.00310.74
4.4.30.0090.00310.74
4.4.20.0090.00310.74
4.4.10.0070.00310.74
4.4.00.0080.00310.74
4.3.110.0030.00610.74
4.3.100.0130.00410.74
4.3.90.0100.00010.74
4.3.80.0070.00610.74
4.3.70.0130.00010.74
4.3.60.0080.00410.74
4.3.50.0090.00210.74
4.3.40.0070.00610.74
4.3.30.0020.00710.74
4.3.20.0070.00410.74
4.3.10.0050.00510.74
4.3.00.0050.00510.74

preferences:
31.2 ms | 403 KiB | 5 Q