3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = 'Page 1/50'; $value = end(explode('/', $text));

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.00617.59
8.4.10.0040.00417.58
8.3.150.0110.00716.69
8.3.140.0070.00417.10
8.3.130.0000.00818.40
8.3.120.0080.00020.54
8.3.110.0090.00020.94
8.3.100.0030.00624.06
8.3.90.0030.00626.77
8.3.80.0030.00616.63
8.3.70.0040.01418.43
8.3.60.0110.01118.31
8.3.50.0160.00821.26
8.3.40.0070.00718.85
8.3.30.0040.00920.21
8.3.20.0040.00418.66
8.3.10.0080.00020.95
8.3.00.0060.00323.48
8.2.270.0090.00916.92
8.2.260.0030.00616.77
8.2.250.0060.00316.63
8.2.240.0080.00017.28
8.2.230.0040.00422.58
8.2.220.0050.00537.54
8.2.210.0060.00326.77
8.2.200.0060.00316.38
8.2.190.0150.00616.63
8.2.180.0110.00318.36
8.2.170.0150.00022.96
8.2.160.0070.00722.13
8.2.150.0070.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0050.00318.75
8.2.110.0040.00422.08
8.2.100.0050.00520.95
8.2.90.0050.00317.63
8.2.80.0030.00618.73
8.2.70.0040.00417.91
8.2.60.0000.00817.50
8.2.50.0000.00817.55
8.2.40.0070.00317.62
8.2.30.0080.00019.30
8.2.20.0050.00317.46
8.2.10.0040.00417.66
8.2.00.0000.00717.67
8.1.310.0150.00418.11
8.1.300.0040.00419.76
8.1.290.0060.00318.88
8.1.280.0100.01025.92
8.1.270.0070.00023.99
8.1.260.0050.00226.35
8.1.250.0070.00028.09
8.1.240.0090.00019.03
8.1.230.0070.00319.09
8.1.220.0000.00817.79
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0000.00817.22
8.1.180.0040.00418.10
8.1.170.0070.00019.01
8.1.160.0000.00718.78
8.1.150.0040.00418.48
8.1.140.0050.00217.30
8.1.130.0030.00317.87
8.1.120.0030.00317.30
8.1.110.0000.00817.41
8.1.100.0040.00417.26
8.1.90.0040.00417.23
8.1.80.0040.00417.39
8.1.70.0030.00317.32
8.1.60.0080.00017.54
8.1.50.0040.00417.44
8.1.40.0030.00517.48
8.1.30.0030.00617.48
8.1.20.0060.00317.64
8.1.10.0040.00417.51
8.1.00.0040.00417.44
8.0.300.0040.00418.77
8.0.290.0000.00816.75
8.0.280.0030.00318.37
8.0.270.0040.00416.92
8.0.260.0040.00416.82
8.0.250.0000.00716.82
8.0.240.0110.00016.97
8.0.230.0000.00916.79
8.0.220.0070.00016.89
8.0.210.0000.00716.79
8.0.200.0030.00316.93
8.0.190.0070.00016.97
8.0.180.0050.00316.81
8.0.170.0040.00416.77
8.0.160.0030.00316.90
8.0.150.0020.00516.68
8.0.140.0080.00416.87
8.0.130.0000.00513.39
8.0.120.0040.00416.73
8.0.110.0040.00416.75
8.0.100.0000.00716.66
8.0.90.0040.00417.00
8.0.80.0090.01316.88
8.0.70.0040.00416.95
8.0.60.0040.00416.70
8.0.50.0040.00416.68
8.0.30.0120.00616.77
8.0.20.0080.01017.40
8.0.10.0040.00416.88
8.0.00.0090.01216.49
7.4.330.0030.00314.86
7.4.320.0030.00316.44
7.4.300.0030.00316.43
7.4.290.0030.00316.48
7.4.280.0000.00816.43
7.4.270.0000.00816.48
7.4.260.0000.00716.52
7.4.250.0000.00816.39
7.4.240.0070.00016.52
7.4.230.0030.00316.52
7.4.220.0090.00916.44
7.4.210.0060.01016.49
7.4.200.0030.00316.29
7.4.190.0040.00316.29
7.4.160.0030.01216.45
7.4.150.0150.00317.40
7.4.140.0140.00617.86
7.4.130.0140.00616.47
7.4.120.0100.00716.43
7.4.110.0110.00816.33
7.4.100.0090.01416.37
7.4.90.0070.01216.46
7.4.80.0120.00619.39
7.4.70.0100.00616.38
7.4.60.0100.00716.29
7.4.50.0000.00816.27
7.4.40.0000.01122.77
7.4.30.0070.01516.38
7.4.00.0070.00715.01
7.3.330.0000.00613.09
7.3.320.0050.00013.00
7.3.310.0030.00316.21
7.3.300.0060.00016.30
7.3.290.0110.00316.24
7.3.280.0050.01116.29
7.3.270.0100.00717.40
7.3.260.0110.00918.24
7.3.250.0070.01416.28
7.3.240.0150.00616.18
7.3.230.0080.00816.39
7.3.210.0030.01316.30
7.3.200.0180.00619.39
7.3.190.0030.01316.33
7.3.180.0060.00916.49
7.3.170.0120.00816.27
7.3.160.0060.00916.21
7.3.120.0070.00714.96
7.3.00.0030.00716.54
7.2.330.0100.00716.16
7.2.320.0090.00816.67
7.2.310.0120.00616.59
7.2.300.0100.00616.39
7.2.290.0030.01316.66
7.2.130.0080.00416.91
7.2.120.0080.00416.82
7.2.110.0070.00416.78
7.2.100.0030.00616.72
7.2.90.0080.00416.91
7.2.80.0100.00316.79
7.2.70.0040.00816.79
7.2.60.0030.00916.91
7.2.50.0050.00816.79
7.2.40.0100.00316.91
7.2.30.0060.00616.64
7.2.20.0040.00816.88
7.2.10.0060.00916.80
7.2.00.0060.01118.02
7.1.250.0090.00315.48
7.1.240.0040.00815.46
7.1.230.0030.00715.85
7.1.220.0110.00315.72
7.1.210.0040.00815.59
7.1.200.0020.01315.67
7.1.190.0030.00915.76
7.1.180.0110.00415.63
7.1.170.0050.00515.88
7.1.160.0060.00615.85
7.1.150.0000.01415.91
7.1.140.0030.00615.47
7.1.130.0100.00315.84
7.1.120.0080.00415.83
7.1.110.0040.00715.65
7.1.100.0020.01116.95
7.1.90.0130.00015.81
7.1.80.0110.00315.87
7.1.70.0040.00916.39
7.1.60.0070.01117.49
7.1.50.0070.01016.11
7.1.40.0060.00615.48
7.1.30.0030.01015.54
7.1.20.0030.00715.79
7.1.10.0070.00315.57
7.1.00.0020.04219.12
7.0.330.0070.00415.20
7.0.320.0100.00015.23
7.0.310.0070.00315.29
7.0.300.0080.00615.37
7.0.290.0070.00415.37
7.0.280.0060.00315.36
7.0.270.0040.00715.27
7.0.260.0040.00715.40
7.0.250.0050.00515.39
7.0.240.0130.00015.19
7.0.230.0000.00915.28
7.0.220.0000.01015.24
7.0.210.0070.00315.31
7.0.200.0050.00815.75
7.0.190.0030.00715.23
7.0.180.0030.00915.54
7.0.170.0060.00315.39
7.0.160.0030.00614.92
7.0.150.0030.00615.43
7.0.140.0000.04118.62
7.0.130.0060.00615.21
7.0.120.0000.01015.27
7.0.110.0110.00415.14
7.0.100.0050.00315.26
7.0.90.0060.00615.10
7.0.80.0000.01315.22
7.0.70.0030.04318.48
7.0.60.0030.03518.34
7.0.50.0080.03518.64
7.0.40.0030.03816.67
7.0.30.0090.03516.74
7.0.20.0020.03916.78
7.0.10.0100.03216.72
7.0.00.0040.02416.70
5.6.380.0030.00714.35
5.6.370.0040.00814.21
5.6.360.0040.00413.85
5.6.350.0000.00914.25
5.6.340.0090.00314.23
5.6.330.0080.00414.32
5.6.320.0000.01213.85
5.6.310.0070.00314.02
5.6.300.0060.00614.02
5.6.290.0060.00614.10
5.6.280.0080.03617.63
5.6.270.0070.00414.25
5.6.260.0070.01014.16
5.6.250.0030.00914.06
5.6.240.0030.01014.13
5.6.230.0040.00713.91
5.6.220.0050.02517.23
5.6.210.0030.03017.18
5.6.200.0050.03617.43
5.6.190.0030.04217.52
5.6.180.0110.03317.49
5.6.170.0050.04417.54
5.6.160.0090.02217.53
5.6.150.0050.02217.57
5.6.140.0080.01817.42
5.6.130.0020.02617.61
5.6.120.0040.01817.45
5.6.110.0030.02117.50
5.6.100.0030.02017.43
5.6.90.0020.02217.62
5.6.80.0050.03417.22
5.6.70.0050.04317.25
5.6.60.0030.03517.11
5.6.50.0050.02317.24
5.6.40.0000.02717.12
5.6.30.0080.02617.27
5.6.20.0040.01917.14
5.6.10.0020.02317.13
5.6.00.0010.01917.28
5.5.380.0000.01010.98
5.5.370.0030.00310.90
5.5.360.0020.04715.74
5.5.350.0040.04115.67
5.5.340.0050.04315.89
5.5.330.0060.04515.87
5.5.320.0000.05015.83
5.5.310.0000.03615.87
5.5.300.0020.02515.82
5.5.290.0040.02215.91
5.5.280.0020.02115.82
5.5.270.0040.01815.83
5.5.260.0010.01915.86
5.5.250.0030.02015.78
5.5.240.0020.03815.57
5.5.230.0060.03815.59
5.5.220.0050.03315.58
5.5.210.0080.02215.56
5.5.200.0020.02415.52
5.5.190.0030.02815.52
5.5.180.0020.03015.57
5.5.170.0070.00310.90
5.5.160.0080.01815.58
5.5.150.0030.02515.55
5.5.140.0040.02315.56
5.5.130.0020.02015.50
5.5.120.0030.01715.50
5.5.110.0000.02115.55
5.5.100.0030.01815.51
5.5.90.0030.02015.41
5.5.80.0060.01715.50
5.5.70.0000.02215.49
5.5.60.0040.01515.46
5.5.50.0030.01815.48
5.5.40.0020.01815.46
5.5.30.0030.02115.45
5.5.20.0050.02215.43
5.5.10.0020.02015.49
5.5.00.0010.01815.45
5.4.450.0030.02215.09
5.4.440.0050.02015.13
5.4.430.0020.02015.01
5.4.420.0020.02115.16
5.4.410.0010.02115.06
5.4.400.0030.03514.93
5.4.390.0070.02315.01
5.4.380.0050.03115.00
5.4.370.0070.02314.90
5.4.360.0050.02514.84
5.4.350.0040.02014.96
5.4.340.0020.02414.84
5.4.330.0000.00610.90
5.4.320.0000.02014.98
5.4.310.0030.01515.04
5.4.300.0050.02214.97
5.4.290.0000.02114.92
5.4.280.0000.01915.00
5.4.270.0020.01714.91
5.4.260.0030.02214.93
5.4.250.0050.01514.84
5.4.240.0020.01714.97
5.4.230.0070.01914.95
5.4.220.0020.01914.92
5.4.210.0050.01315.00
5.4.200.0020.01914.97
5.4.190.0040.01715.05
5.4.180.0030.02114.98
5.4.170.0020.02014.95
5.4.160.0020.02214.91
5.4.150.0050.01514.82
5.4.140.0070.01313.60
5.4.130.0020.02013.58
5.4.120.0050.01813.61
5.4.110.0020.01713.62
5.4.100.0050.02013.65
5.4.90.0010.01813.57
5.4.80.0020.01813.54
5.4.70.0000.02913.61
5.4.60.0050.01613.57
5.4.50.0050.03513.54
5.4.40.0050.03913.59
5.4.30.0090.03313.55
5.4.20.0020.03713.60
5.4.10.0050.03313.58
5.4.00.0050.02013.33
5.3.290.0020.01712.77
5.3.280.0020.01712.73
5.3.270.0000.02212.66
5.3.260.0000.02312.74
5.3.250.0030.01712.74
5.3.240.0010.02112.73
5.3.230.0060.01712.66
5.3.220.0040.02812.71
5.3.210.0020.03212.72
5.3.200.0020.02812.73
5.3.190.0020.04012.73
5.3.180.0000.02912.64
5.3.170.0000.01912.72
5.3.160.0000.01912.70
5.3.150.0050.01512.64
5.3.140.0030.03212.72
5.3.130.0020.03812.70
5.3.120.0030.04012.72
5.3.110.0050.04112.70
5.3.100.0030.03512.40
5.3.90.0030.04012.44
5.3.80.0030.03712.45
5.3.70.0000.04312.38
5.3.60.0000.04312.44
5.3.50.0020.03812.41
5.3.40.0030.03012.39
5.3.30.0020.04012.28
5.3.20.0070.03412.26
5.3.10.0000.03912.15
5.3.00.0050.03512.24
5.2.170.0020.03611.12
5.2.160.0050.02911.12
5.2.150.0050.01511.12
5.2.140.0030.03011.12
5.2.130.0050.03211.12
5.2.120.0000.03611.12
5.2.110.0020.03011.12
5.2.100.0030.03011.12
5.2.90.0020.03511.12
5.2.80.0040.02711.12
5.2.70.0000.03011.12
5.2.60.0000.03511.12
5.2.50.0030.03111.12
5.2.40.0040.03211.12
5.2.30.0040.03111.12
5.2.20.0080.02811.12
5.2.10.0050.03011.12
5.2.00.0000.03511.12
5.1.60.0000.02311.12
5.1.50.0020.02111.12
5.1.40.0060.02811.12
5.1.30.0020.03111.12
5.1.20.0060.01511.12
5.1.10.0000.02911.12
5.1.00.0020.02711.12
5.0.50.0020.02211.12
5.0.40.0020.01711.12
5.0.30.0050.03311.12
5.0.20.0030.01911.12
5.0.10.0010.02411.12
5.0.00.0020.03411.12
4.4.90.0010.01811.12
4.4.80.0010.01911.12
4.4.70.0000.02011.12
4.4.60.0020.01811.12
4.4.50.0000.01811.12
4.4.40.0020.02211.12
4.4.30.0020.01811.12
4.4.20.0050.01811.12
4.4.10.0030.01511.12
4.4.00.0010.02511.12
4.3.110.0000.02011.12
4.3.100.0030.01811.12
4.3.90.0020.01911.12
4.3.80.0000.03011.12
4.3.70.0000.02211.12
4.3.60.0020.02011.12
4.3.50.0000.02111.12
4.3.40.0000.03111.12
4.3.30.0020.02011.12
4.3.20.0030.01911.12
4.3.10.0020.01511.12
4.3.00.0010.01811.12

preferences:
67.57 ms | 403 KiB | 5 Q